1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 00:21:15 +03:00

Fix parameters

This commit is contained in:
Lucie Anglade 2020-05-08 00:23:13 +02:00
parent 18e10631f9
commit 0a412542d9

View File

@ -1319,7 +1319,7 @@ def show_first_line(context, textbox, text_overflow):
data = harfbuzz.hb_blob_get_data(harfbuzz.hb_face_reference_blob(
harfbuzz.hb_font_get_face(hb_font)), length)
font = ffi.unpack(data, int(length[0]))
context.add_font(font, pango_font, glyph_item, ffi)
context.add_font(font, pango_font, glyph_item)
if run.next == ffi.NULL:
break
else: