cosmetic change

This commit is contained in:
justvanrossum 2018-12-05 15:07:58 +01:00
parent 874c08dcd2
commit c3fa7de615

View File

@ -455,9 +455,10 @@ class FontBuilder(object):
self.font["OS/2"].recalcUnicodeRanges(self.font)
def setupCFF(self, psName, fontInfo, charStringsDict, privateDict):
assert not self.isTTF
from .cffLib import CFFFontSet, TopDictIndex, TopDict, CharStrings, \
GlobalSubrsIndex, PrivateDict
assert not self.isTTF
self.font.sfntVersion = "OTTO"
fontSet = CFFFontSet()
fontSet.major = 1