Home
last modified time | relevance | path

Searched refs:TTFont (Results 1 – 25 of 66) sorted by relevance

123

/external/fonttools/Tests/subset/
Dsubset_test.py4 from fontTools.ttLib import TTFont, newTable
68 font = TTFont(recalcBBoxes=False, recalcTimestamp=False)
81 subsetfont = TTFont(subsetpath)
88 subsetfont = TTFont(subsetpath)
95 subsetfont = TTFont(subsetpath)
102 subsetfont = TTFont(subsetpath)
109 self.assertNotIn("ankr", TTFont(subsetpath))
115 subsetfont = TTFont(subsetpath)
129 subsetfont = TTFont(subsetpath)
145 subsetfont = TTFont(subsetpath)
[all …]
/external/fonttools/Tests/misc/
DxmlReader_test.py7 from fontTools.ttLib import TTFont
42 reader = DebugXMLReader(tmp, TTFont())
71 reader = DebugXMLReader(tmp, TTFont())
108 reader = XMLReader(tmp, TTFont(), progress=progressBar)
115 reader = XMLReader(tmp, TTFont(), progress=progressBar)
123 reader = XMLReader(tmp.name, TTFont())
136 reader = XMLReader(f, TTFont())
174 ttf = TTFont()
/external/fonttools/Tests/ttLib/tables/
D_c_m_a_p_test.py57 font = ttLib.TTFont()
69 font = ttLib.TTFont()
81 font = ttLib.TTFont()
88 font = ttLib.TTFont()
97 font = ttLib.TTFont()
103 font = ttLib.TTFont()
134 font = ttLib.TTFont()
159 font = ttLib.TTFont(f)
DC_F_F__2_test.py6 from fontTools.ttLib import TTFont, newTable
32 font = TTFont(file=CFF_BIN)
41 font = TTFont(file=CFF_BIN)
52 font = TTFont(sfntVersion='OTTO')
D_h_h_e_a_test.py6 from fontTools.ttLib import TTFont, newTable
99 self.font = TTFont(sfntVersion='OTTO')
135 self.font = TTFont(sfntVersion='OTTO')
166 font = TTFont()
176 font = TTFont()
186 font = TTFont()
DM_V_A_R_test.py6 from fontTools.ttLib import newTable, TTFont
124 font = TTFont()
130 font = TTFont()
DC_F_F_test.py6 from fontTools.ttLib import TTFont, newTable
33 font = TTFont(sfntVersion='OTTO')
42 font = TTFont(sfntVersion='OTTO')
D_v_h_e_a_test.py6 from fontTools.ttLib import TTFont, newTable
112 self.font = TTFont(sfntVersion='OTTO')
188 self.font = TTFont(sfntVersion='OTTO')
243 font = TTFont()
253 font = TTFont()
263 font = TTFont()
Dtables_test.py4 from fontTools.ttLib import TTFont, tagToXML
267 font = TTFont()
274 font = TTFont(getpath(testfile))
DT_S_I__1_test.py6 from fontTools.ttLib import TTFont, TTLibError
35 font = TTFont()
46 font = TTFont()
/external/fonttools/Tests/cffLib/
DcffLib_test.py4 from fontTools.ttLib import TTFont
54 font = TTFont(temp_path)
60 font2 = TTFont(save_path)
75 font = TTFont(recalcBBoxes=False, recalcTimestamp=False)
/external/fonttools/Tests/varLib/
Dmutator_test.py3 from fontTools.ttLib import TTFont
86 font = TTFont(recalcBBoxes=False, recalcTimestamp=False)
116 instfont = TTFont(instfont_path)
137 instfont = TTFont(instfont_path)
159 instfont = TTFont(instfont_path)
171 varfont = TTFont(otf_vf_path)
/external/fonttools/Snippets/
Dlayout-features.py5 from fontTools.ttLib import TTFont
14 font = TTFont()
17 font = TTFont(fontfile)
Dinterpolate.py26 from fontTools.ttLib import TTFont
133 thin = TTFont("/tmp/Roboto/Roboto-Thin.ttf")
134 regular = TTFont("/tmp/Roboto/Roboto-Regular.ttf")
135 black = TTFont("/tmp/Roboto/Roboto-Black.ttf")
Dedit_raw_table_data.py1 from fontTools.ttLib import TTFont
12 font = TTFont(font_path)
Ddump_woff_metadata.py4 from fontTools.ttLib import TTFont
22 font = TTFont(infile)
Dwoff2_compress.py5 from fontTools.ttLib import TTFont
23 font = TTFont(filename, recalcBBoxes=False, recalcTimestamp=False)
Dmerge_woff_metadata.py5 from fontTools.ttLib import TTFont
28 font = TTFont(infile)
Dcmap-format.py15 from fontTools.ttLib import TTFont
24 font = TTFont(fontfile)
Dwoff2_decompress.py5 from fontTools.ttLib import TTFont
33 font = TTFont(filename, recalcBBoxes=False, recalcTimestamp=False)
Dsubset-fpgm.py5 from fontTools.ttLib import TTFont
14 font = TTFont(fontfile)
/external/fonttools/Tests/ttx/
Dttx_test.py5 from fontTools.ttLib import TTFont, TTLibError
538 ttf = TTFont(str(outotf))
564 ttf = TTFont(str(outwoff))
592 ttf = TTFont(str(outwoff))
619 ttf = TTFont(str(outwoff2))
645 ttf = TTFont(str(outttf))
676 ttf = TTFont(str(outwoff))
709 ttf = TTFont(str(outwoff))
741 ttf = TTFont(str(outwoff2))
783 ttf = TTFont(str(outttf1))
[all …]
/external/fonttools/Tests/ttLib/
Dwoff2_test.py48 ttf = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False)
53 otf = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False)
64 cls.font = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False)
134 cls.font = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False)
361 cls.font = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False, flavor="woff2")
398 font = ttLib.TTFont(flavor="woff2")
405 woff2font = ttLib.TTFont(self.file)
414 woff2font = ttLib.TTFont(self.file)
420 normFont = ttLib.TTFont(normFile, checkChecksums=2)
421 w2font = ttLib.TTFont(self.file)
[all …]
/external/fonttools/Lib/fontTools/ttLib/
DmacUtils.py28 fonts.append(ttLib.TTFont(path))
31 fonts.append(ttLib.TTFont(path, index))
/external/fonttools/Lib/fontTools/feaLib/
D__main__.py3 from fontTools.ttLib import TTFont
39 font = TTFont(options.input_font)

123