Searched refs:sfntVersion (Results 1 – 17 of 17) sorted by relevance
/external/fonttools/Lib/fontTools/misc/ |
D | xmlReader.py | 98 sfntVersion = attrs.get("sfntVersion") 99 if sfntVersion is not None: 100 if len(sfntVersion) != 4: 101 sfntVersion = safeEval('"' + sfntVersion + '"') 102 self.ttFont.sfntVersion = sfntVersion
|
/external/fonttools/Snippets/ |
D | woff2_decompress.py | 14 sfntVersion = f.read(4) 15 assert len(sfntVersion) == 4, "not enough data" 16 ext = '.ttf' if sfntVersion == b"\x00\x01\x00\x00" else ".otf"
|
D | otf2ttf.py | 43 assert ttFont.sfntVersion == "OTTO" 80 ttFont.sfntVersion = "\000\001\000\000"
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 36 sfntVersion = Tag(infile.read(4)) 38 if sfntVersion == "wOF2": 53 self.sfntVersion = self.file.read(4) 55 if self.sfntVersion == b"ttcf": 66 elif self.sfntVersion == b"wOFF": 78 self.sfntVersion = Tag(self.sfntVersion) 80 if self.sfntVersion not in ("\x00\x01\x00\x00", "OTTO", "true"): 210 def __init__(self, file, numTables, sfntVersion="\000\001\000\000", argument 214 self.sfntVersion = Tag(sfntVersion)
|
D | ttFont.py | 22 sfntVersion="\000\001\000\000", flavor=None, checkChecksums=False, argument 104 self.sfntVersion = sfntVersion 141 self.sfntVersion = self.reader.sfntVersion 208 writer = SFNTWriter(file, numTables, self.sfntVersion, self.flavor, self.flavorData) 255 writer.begintag("ttFont", sfntVersion=repr(tostr(self.sfntVersion))[1:-1], 258 writer.begintag("ttFont", sfntVersion=repr(tostr(self.sfntVersion))[1:-1]) 988 …writer = SFNTWriter(outFile, len(reader.tables), reader.sfntVersion, reader.flavor, reader.flavorD…
|
D | woff2.py | 138 def __init__(self, file, numTables, sfntVersion="\000\001\000\000", argument 148 self.sfntVersion = Tag(sfntVersion) 189 if self.sfntVersion in ("\x00\x01\x00\x00", "true"): 191 elif self.sfntVersion == "OTTO": 234 if self.sfntVersion == "OTTO":
|
/external/fonttools/Tests/ttLib/tables/ |
D | C_F_F_test.py | 33 font = TTFont(sfntVersion='OTTO') 42 font = TTFont(sfntVersion='OTTO')
|
D | _h_h_e_a_test.py | 99 self.font = TTFont(sfntVersion='OTTO') 135 self.font = TTFont(sfntVersion='OTTO')
|
D | _g_l_y_f_test.py | 205 font = TTFont(sfntVersion="\x00\x01\x00\x00") 220 font = TTFont(sfntVersion="\x00\x01\x00\x00")
|
D | _v_h_e_a_test.py | 112 self.font = TTFont(sfntVersion='OTTO') 188 self.font = TTFont(sfntVersion='OTTO')
|
D | C_F_F__2_test.py | 52 font = TTFont(sfntVersion='OTTO')
|
/external/fonttools/Tests/ttLib/ |
D | woff2_test.py | 167 if font.sfntVersion in ("\x00\x01\x00\x00", "true"): 215 outfile, len(reader.tables), reader.sfntVersion, reader.flavor, reader.flavorData) 380 self.writer = WOFF2Writer(BytesIO(), self.numTables, self.font.sfntVersion) 452 self.writer.sfntVersion = 'ZZZZ'
|
/external/fonttools/Lib/fontTools/ |
D | fontBuilder.py | 489 self.font.sfntVersion = "OTTO" 530 self.font.sfntVersion = "OTTO"
|
/external/fonttools/Lib/fontTools/subset/ |
D | __init__.py | 2812 ext = ".ttf" if font.sfntVersion == "\0\1\0\0" else ".otf"
|
/external/fonttools/ |
D | NEWS.rst | 263 or the value of ``TTFont.sfntVersion`` (d7ac0ad).
|
D | PKG-INFO | 680 or the value of ``TTFont.sfntVersion`` (d7ac0ad).
|
/external/fonttools/Lib/fonttools.egg-info/ |
D | PKG-INFO | 680 or the value of ``TTFont.sfntVersion`` (d7ac0ad).
|