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

Set flags always to 4, symbolic

This commit is contained in:
Lucie Anglade 2020-05-08 00:19:07 +02:00
parent f306418cfd
commit 18e10631f9

View File

@ -78,7 +78,7 @@ class Font():
# like '/XXXXXX+font_family'
self.font_name = b'/' + font_family.replace(b' ', b'')
self.font_family = font_family
self.flags = None
self.flags = 4
self.font_bbox = None
self.italic_angle = 0
self.ascent = pango.pango_font_metrics_get_ascent(pango_metrics)