mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
8436bab0b6
commit
8e0adf59f2
@ -115,7 +115,7 @@ class Font(object):
|
|||||||
self.font_stream = FontStream(metrics.is_otf, compress=compress)
|
self.font_stream = FontStream(metrics.is_otf, compress=compress)
|
||||||
self.font_descriptor = Dictionary({
|
self.font_descriptor = Dictionary({
|
||||||
'Type': Name('FontDescriptor'),
|
'Type': Name('FontDescriptor'),
|
||||||
'FontName': Name(metrics.postscript_name),
|
'FontName': Name('%s+%s'%(self.subset_tag, metrics.postscript_name)),
|
||||||
'Flags': 0b100, # Symbolic font
|
'Flags': 0b100, # Symbolic font
|
||||||
'FontBBox': Array(metrics.pdf_bbox),
|
'FontBBox': Array(metrics.pdf_bbox),
|
||||||
'ItalicAngle': metrics.post.italic_angle,
|
'ItalicAngle': metrics.post.italic_angle,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user