Home
last modified time | relevance | path

Searched defs:ttFont (Results 1 – 25 of 72) sorted by relevance

123

/aosp_15_r20/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_c_m_a_p.py142 def decompile(self, data, ttFont): argument
192 def compile(self, ttFont): argument
217 def toXML(self, writer, ttFont): argument
223 def fromXML(self, name, attrs, content, ttFont): argument
292 def decompileHeader(self, data, ttFont): argument
307 def toXML(self, writer, ttFont): argument
373 def decompile(self, data, ttFont): argument
391 def compile(self, ttFont): argument
405 def fromXML(self, name, attrs, content, ttFont): argument
460 def decompile(self, data, ttFont): argument
[all …]
H A DE_B_D_T_.py50 def decompile(self, data, ttFont): argument
85 def compile(self, ttFont): argument
135 def toXML(self, writer, ttFont): argument
164 def fromXML(self, name, attrs, content, ttFont): argument
202 def toXML(self, writer, ttFont): argument
211 def fromXML(self, name, attrs, content, ttFont): argument
292 def _writeRawImageData(strikeIndex, glyphName, bitmapObject, writer, ttFont): argument
300 def _readRawImageData(bitmapObject, name, attrs, content, ttFont): argument
304 def _writeRowImageData(strikeIndex, glyphName, bitmapObject, writer, ttFont): argument
322 def _readRowImageData(bitmapObject, name, attrs, content, ttFont): argument
[all …]
H A DE_B_L_C_.py77 def decompile(self, data, ttFont): argument
138 def compile(self, ttFont): argument
238 def toXML(self, writer, ttFont): argument
244 def fromXML(self, name, attrs, content, ttFont): argument
267 def toXML(self, strikeIndex, writer, ttFont): argument
280 def fromXML(self, name, attrs, content, ttFont, locator): argument
305 def toXML(self, writer, ttFont): argument
316 def fromXML(self, name, attrs, content, ttFont): argument
340 def toXML(self, name, writer, ttFont): argument
349 def fromXML(self, name, attrs, content, ttFont): argument
[all …]
H A DS__i_l_f.py352 def decompile(self, data, ttFont): argument
375 def compile(self, ttFont): argument
393 def toXML(self, writer, ttFont): argument
410 def fromXML(self, name, attrs, content, ttFont): argument
436 def decompile(self, data, ttFont, version=2.0): argument
503 def compile(self, ttFont, version=2.0): argument
549 def toXML(self, writer, ttFont, version=2.0): argument
602 def fromXML(self, name, attrs, content, ttFont, version=2.0): argument
668 def decompile(self, data, ttFont, version=2.0): argument
693 def compile(self, ttFont, version=2.0): argument
[all …]
H A D_p_o_s_t.py30 def decompile(self, data, ttFont): argument
47 def compile(self, ttFont): argument
75 def decode_format_1_0(self, data, ttFont): argument
78 def decode_format_2_0(self, data, ttFont): argument
109 def build_psNameMapping(self, ttFont): argument
131 def decode_format_3_0(self, data, ttFont): argument
136 def decode_format_4_0(self, data, ttFont): argument
156 def encode_format_2_0(self, ttFont): argument
188 def encode_format_4_0(self, ttFont): argument
207 def toXML(self, writer, ttFont): argument
[all …]
H A D_k_e_r_n.py21 def decompile(self, data, ttFont): argument
64 def compile(self, ttFont): argument
79 def toXML(self, writer, ttFont): argument
85 def fromXML(self, name, attrs, content, ttFont): argument
110 def decompile(self, data, ttFont): argument
158 def compile(self, ttFont): argument
207 def toXML(self, writer, ttFont): argument
224 def fromXML(self, name, attrs, content, ttFont): argument
259 def decompile(self, data, ttFont): argument
262 def compile(self, ttFont): argument
[all …]
H A DO_S_2f_2.py35 def toXML(self, writer, ttFont): argument
41 def fromXML(self, name, attrs, content, ttFont): argument
120 def decompile(self, data, ttFont): argument
142 def compile(self, ttFont): argument
188 def toXML(self, writer, ttFont): argument
227 def fromXML(self, name, attrs, content, ttFont): argument
250 def updateFirstAndLastCharIndex(self, ttFont): argument
323 def recalcUnicodeRanges(self, ttFont, pruneOnly=False): argument
369 def recalcCodePageRanges(self, ttFont, pruneOnly=False): argument
385 def recalcAvgCharWidth(self, ttFont): argument
H A DM_E_T_A_.py73 def decompile(self, data, ttFont): argument
109 def compile(self, ttFont): argument
177 def toXML(self, writer, ttFont): argument
190 def fromXML(self, name, attrs, content, ttFont): argument
214 def toXML(self, writer, ttFont): argument
226 def fromXML(self, name, attrs, content, ttFont): argument
300 def toXML(self, writer, ttFont): argument
312 def fromXML(self, name, attrs, content, ttFont): argument
H A D_f_v_a_r.py53 def compile(self, ttFont): argument
76 def decompile(self, data, ttFont): argument
97 def toXML(self, writer, ttFont): argument
103 def fromXML(self, name, attrs, content, ttFont): argument
129 def toXML(self, writer, ttFont): argument
154 def fromXML(self, name, _attrs, content, ttFont): argument
196 def toXML(self, writer, ttFont): argument
238 def fromXML(self, name, attrs, content, ttFont): argument
H A DG_M_A_P_.py35 def toXML(self, writer, ttFont): argument
51 def fromXML(self, name, attrs, content, ttFont): argument
58 def compile(self, ttFont): argument
86 def decompile(self, data, ttFont): argument
101 def compile(self, ttFont): argument
112 def toXML(self, writer, ttFont): argument
125 def fromXML(self, name, attrs, content, ttFont): argument
H A DC_O_L_R_.py36 def _toOTTable(self, ttFont): argument
54 def decompile(self, data, ttFont): argument
72 def compile(self, ttFont): argument
84 def toXML(self, writer, ttFont): argument
98 def fromXML(self, name, attrs, content, ttFont): argument
148 def toXML(self, writer, ttFont): argument
152 def fromXML(self, eltname, attrs, content, ttFont): argument
H A DD_S_I_G_.py42 def decompile(self, data, ttFont): argument
67 def compile(self, ttFont): argument
88 def toXML(self, xmlWriter, ttFont): argument
104 def fromXML(self, name, attrs, content, ttFont): argument
139 def toXML(self, writer, ttFont): argument
147 def fromXML(self, name, attrs, content, ttFont): argument
H A D_t_r_a_k.py63 def compile(self, ttFont): argument
86 def decompile(self, data, ttFont): argument
95 def toXML(self, writer, ttFont): argument
109 def fromXML(self, name, attrs, content, ttFont): argument
207 def toXML(self, writer, ttFont): argument
217 def fromXML(self, name, attrs, content, ttFont): argument
267 def toXML(self, writer, ttFont): argument
283 def fromXML(self, name, attrs, content, ttFont): argument
H A DV_O_R_G_.py14 def decompile(self, data, ttFont): argument
48 def compile(self, ttFont): argument
72 def toXML(self, writer, ttFont): argument
97 def fromXML(self, name, attrs, content, ttFont): argument
143 def toXML(self, writer, ttFont): argument
153 def fromXML(self, name, attrs, content, ttFont): argument
H A D_n_a_m_e.py41 def decompile(self, data, ttFont): argument
70 def compile(self, ttFont): argument
94 def toXML(self, writer, ttFont): argument
98 def fromXML(self, name, attrs, content, ttFont): argument
231 def removeUnusedNames(ttFont): argument
262 self, names, windows=True, mac=True, minNameID=0, ttFont=None argument
328 self, names, ttFont=None, nameID=None, windows=True, mac=True, minNameID=0 argument
593 def toXML(self, writer, ttFont): argument
618 def fromXML(self, name, attrs, content, ttFont): argument
H A D_m_a_x_p.py32 def decompile(self, data, ttFont): argument
39 def compile(self, ttFont): argument
53 def recalc(self, ttFont): argument
123 def toXML(self, writer, ttFont): argument
138 def fromXML(self, name, attrs, content, ttFont): argument
H A D_v_h_e_a.py38 def decompile(self, data, ttFont): argument
41 def compile(self, ttFont): argument
51 def recalc(self, ttFont): argument
104 def toXML(self, writer, ttFont): argument
114 def fromXML(self, name, attrs, content, ttFont): argument
H A D_h_h_e_a.py55 def decompile(self, data, ttFont): argument
58 def compile(self, ttFont): argument
68 def recalc(self, ttFont): argument
121 def toXML(self, writer, ttFont): argument
131 def fromXML(self, name, attrs, content, ttFont): argument
H A D_g_l_y_f.py95 def decompile(self, data, ttFont): argument
136 def compile(self, ttFont): argument
188 def toXML(self, writer, ttFont, splitGlyphs=False): argument
258 def fromXML(self, name, attrs, content, ttFont): argument
524 def _synthesizeVMetrics(self, glyphName, ttFont, defaultVerticalOrigin): argument
545 def getPhantomPoints(self, glyphName, ttFont, defaultVerticalOrigin=None): argument
555 def getCoordinatesAndControls(self, glyphName, ttFont, defaultVerticalOrigin=None): argument
563 def setCoordinates(self, glyphName, ttFont): argument
767 def toXML(self, writer, ttFont): argument
808 def fromXML(self, name, attrs, content, ttFont): argument
[all …]
H A D_g_v_a_r.py63 def compile(self, ttFont): argument
97 def compileGlyphs_(self, ttFont, axisTags, sharedCoordIndices): argument
113 def decompile(self, data, ttFont): argument
201 def toXML(self, writer, ttFont): argument
218 def fromXML(self, name, attrs, content, ttFont): argument
H A DC_P_A_L_.py24 def decompile(self, data, ttFont): argument
92 def compile(self, ttFont): argument
191 def toXML(self, writer, ttFont): argument
240 def fromXML(self, name, attrs, content, ttFont): argument
280 def toXML(self, writer, ttFont, index=None): argument
H A DT_S_I__5.py14 def decompile(self, data, ttFont): argument
25 def compile(self, ttFont): argument
34 def toXML(self, writer, ttFont): argument
42 def fromXML(self, name, attrs, content, ttFont): argument
H A DL_T_S_H_.py12 def decompile(self, data, ttFont): argument
25 def compile(self, ttFont): argument
37 def toXML(self, writer, ttFont): argument
43 def fromXML(self, name, attrs, content, ttFont): argument
/aosp_15_r20/external/fonttools/Tests/varLib/
H A Dmerger_test.py17 def dump_xml(table, ttFont=None): argument
26 def compile_decompile(table, ttFont): argument
41 def ttFont(): function
706 def test_merge_Paint(self, paints, ttFont, expected_xml, expected_varIdxes): argument
719 def test_merge_ClipList(self, ttFont): argument
1513 ttFont, argument
1812 self, color_glyphs, ttFont, before_xml, expected_xml argument
/aosp_15_r20/external/fonttools/Tests/ttLib/
H A Dwoff2_test.py980 def ttFont(fontfile): function
985 def test_transform_no_sidebearings(self, ttFont): argument
1002 def test_transform_proportional_sidebearings(self, ttFont): argument
1032 def test_transform_monospaced_sidebearings(self, ttFont): argument
1057 def test_transform_not_applicable(self, ttFont): argument
1069 def test_reconstruct_no_sidebearings(self, ttFont): argument
1096 def test_reconstruct_proportional_sidebearings(self, ttFont): argument
1132 def test_reconstruct_monospaced_sidebearings(self, ttFont): argument
1178 def test_reconstruct_too_much_data(self, ttFont): argument
1196 def test_roundtrip_default_transforms(self, ttFont): argument
[all …]

123