Home
last modified time | relevance | path

Searched refs:sfntVersion (Results 1 – 3 of 3) sorted by relevance

/external/fonttools/Lib/fontTools/misc/
DxmlReader.py57 sfntVersion = attrs.get("sfntVersion")
58 if sfntVersion is not None:
59 if len(sfntVersion) != 4:
60 sfntVersion = safeEval('"' + sfntVersion + '"')
61 self.ttFont.sfntVersion = sfntVersion
/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py31 self.sfntVersion = self.file.read(4)
33 if self.sfntVersion == b"ttcf":
44 elif self.sfntVersion == b"wOFF":
50 self.sfntVersion = Tag(self.sfntVersion)
52 if self.sfntVersion not in ("\x00\x01\x00\x00", "OTTO", "true"):
100 def __init__(self, file, numTables, sfntVersion="\000\001\000\000", argument
104 self.sfntVersion = Tag(sfntVersion)
D__init__.py69 sfntVersion="\000\001\000\000", flavor=None, checkChecksums=False, argument
144 self.sfntVersion = sfntVersion
166 self.sfntVersion = self.reader.sfntVersion
207 writer = sfnt.SFNTWriter(tmp, numTables, self.sfntVersion, self.flavor, self.flavorData)
255 writer.begintag("ttFont", sfntVersion=repr(self.sfntVersion)[1:-1],
964 …writer = SFNTWriter(outFile, len(reader.tables), reader.sfntVersion, reader.flavor, reader.flavorD…