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:
parent
f306418cfd
commit
18e10631f9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user