Home
last modified time | relevance | path

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

1234

/external/fonttools/Tests/subset/
Dsubset_test.py7 from fontTools.ttLib import TTFont, newTable
74 font = TTFont(recalcBBoxes=False, recalcTimestamp=False)
89 subsetfont = TTFont(subsetpath)
97 subsetfont = TTFont(subsetpath)
104 subsetfont = TTFont(subsetpath)
111 subsetfont = TTFont(subsetpath)
118 subsetfont = TTFont(subsetpath)
125 self.assertNotIn("ankr", TTFont(subsetpath))
131 subsetfont = TTFont(subsetpath)
145 subsetfont = TTFont(subsetpath)
[all …]
/external/fonttools/Tests/cffLib/
DcffLib_test.py3 from fontTools.ttLib import TTFont
50 font = TTFont(recalcBBoxes=False, recalcTimestamp=False)
62 font2 = TTFont(save_path)
77 font = TTFont(recalcBBoxes=False, recalcTimestamp=False)
83 font = TTFont(recalcBBoxes=False, recalcTimestamp=False)
90 font2 = TTFont(save_path)
97 font = TTFont(font_path, recalcBBoxes=False, recalcTimestamp=False)
106 font2 = TTFont(save_path)
/external/fonttools/Tests/otlLib/
DmaxContextCalc_test.py4 from fontTools.ttLib import TTFont
10 font = TTFont()
55 font = TTFont()
71 font = TTFont()
/external/fonttools/Tests/misc/
DxmlReader_test.py5 from fontTools.ttLib import TTFont
40 reader = DebugXMLReader(tmp, TTFont())
69 reader = DebugXMLReader(tmp, TTFont())
106 reader = XMLReader(tmp, TTFont(), progress=progressBar)
113 reader = XMLReader(tmp, TTFont(), progress=progressBar)
121 reader = XMLReader(tmp.name, TTFont())
134 reader = XMLReader(f, TTFont())
172 ttf = TTFont()
/external/fonttools/Tests/ttLib/
DttFont_test.py2 from fontTools.ttLib import TTFont, newTable, registerCustomTableClass, unregisterCustomTableClass
24 font = TTFont()
33 font = TTFont(f)
43 font = TTFont()
Dwoff2_test.py57 ttf = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False)
62 otf = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False)
73 cls.font = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False)
143 cls.font = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False)
418 cls.font = ttLib.TTFont(recalcBBoxes=False, recalcTimestamp=False, flavor="woff2")
455 font = ttLib.TTFont(flavor="woff2")
462 woff2font = ttLib.TTFont(self.file)
471 woff2font = ttLib.TTFont(self.file)
477 normFont = ttLib.TTFont(normFile, checkChecksums=2)
478 w2font = ttLib.TTFont(self.file)
[all …]
/external/fonttools/Tests/ttLib/tables/
D_c_m_a_p_test.py55 font = ttLib.TTFont()
67 font = ttLib.TTFont()
79 font = ttLib.TTFont()
86 font = ttLib.TTFont()
95 font = ttLib.TTFont()
101 font = ttLib.TTFont()
132 font = ttLib.TTFont()
157 font = ttLib.TTFont(f)
DC_F_F__2_test.py3 from fontTools.ttLib import TTFont
30 font = TTFont(file=CFF_BIN)
39 font = TTFont(file=CFF_BIN)
50 font = TTFont(sfntVersion='OTTO')
DC_B_L_C_test.py6 from fontTools.ttLib import TTFont
21 font = TTFont()
26 font = TTFont(buf)
DM_V_A_R_test.py4 from fontTools.ttLib import newTable, TTFont
122 font = TTFont()
128 font = TTFont()
D_h_h_e_a_test.py4 from fontTools.ttLib import TTFont, newTable
97 self.font = TTFont(sfntVersion='OTTO')
145 self.font = TTFont(sfntVersion='OTTO')
176 font = TTFont()
186 font = TTFont()
196 font = TTFont()
DC_F_F_test.py3 from fontTools.ttLib import TTFont, newTable
31 font = TTFont(sfntVersion='OTTO')
40 font = TTFont(sfntVersion='OTTO')
D_v_h_e_a_test.py4 from fontTools.ttLib import TTFont, newTable
110 self.font = TTFont(sfntVersion='OTTO')
186 self.font = TTFont(sfntVersion='OTTO')
241 font = TTFont()
251 font = TTFont()
261 font = TTFont()
Dtables_test.py1 from fontTools.ttLib import TTFont, tagToXML
265 font = TTFont()
272 font = TTFont(getpath(testfile))
DT_S_I__1_test.py3 from fontTools.ttLib import TTFont, TTLibError
32 font = TTFont()
43 font = TTFont()
/external/fonttools/Snippets/
Dlayout-features.py3 from fontTools.ttLib import TTFont
12 font = TTFont()
15 font = TTFont(fontfile)
Dinterpolate.py24 from fontTools.ttLib import TTFont
131 thin = TTFont("/tmp/Roboto/Roboto-Thin.ttf")
132 regular = TTFont("/tmp/Roboto/Roboto-Regular.ttf")
133 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.py3 from fontTools.ttLib import TTFont
21 font = TTFont(infile)
Dcmap-format.py13 from fontTools.ttLib import TTFont
22 font = TTFont(fontfile)
Dmerge_woff_metadata.py4 from fontTools.ttLib import TTFont
27 font = TTFont(infile)
Ddecompose-ttf.py8 from fontTools.ttLib import TTFont
28 with TTFont(src) as f:
/external/fonttools/Tests/varLib/
Dmutator_test.py1 from fontTools.ttLib import TTFont
84 font = TTFont(recalcBBoxes=False, recalcTimestamp=False)
114 instfont = TTFont(instfont_path)
135 instfont = TTFont(instfont_path)
157 instfont = TTFont(instfont_path)
178 varfont = TTFont(varfont_path)
/external/fonttools/Tests/ttx/
Dttx_test.py3 from fontTools.ttLib import TTFont, TTLibError
539 ttf = TTFont(str(outotf))
565 ttf = TTFont(str(outwoff))
593 ttf = TTFont(str(outwoff))
620 ttf = TTFont(str(outwoff2))
646 ttf = TTFont(str(outttf))
677 ttf = TTFont(str(outwoff))
710 ttf = TTFont(str(outwoff))
742 ttf = TTFont(str(outwoff2))
784 ttf = TTFont(str(outttf1))
[all …]
/external/fonttools/Lib/fontTools/ttLib/
DmacUtils.py27 fonts.append(ttLib.TTFont(path))
30 fonts.append(ttLib.TTFont(path, index))

1234