This commit is contained in:
Kovid Goyal 2012-12-20 21:15:04 +05:30
parent 8436bab0b6
commit 8e0adf59f2

View File

@ -115,7 +115,7 @@ class Font(object):
self.font_stream = FontStream(metrics.is_otf, compress=compress)
self.font_descriptor = Dictionary({
'Type': Name('FontDescriptor'),
'FontName': Name(metrics.postscript_name),
'FontName': Name('%s+%s'%(self.subset_tag, metrics.postscript_name)),
'Flags': 0b100, # Symbolic font
'FontBBox': Array(metrics.pdf_bbox),
'ItalicAngle': metrics.post.italic_angle,