Home
last modified time | relevance | path

Searched refs:deHexStr (Results 1 – 25 of 32) sorted by relevance

12

/external/fonttools/Tests/ttLib/tables/
DotBase_test.py3 from fontTools.misc.textTools import deHexStr
10 reader = OTTableReader(deHexStr("CA FE"))
15 reader = OTTableReader(deHexStr("CA FE BE EF"))
20 reader = OTTableReader(deHexStr("C3"))
25 reader = OTTableReader(deHexStr("CA FE"))
30 reader = OTTableReader(deHexStr("DE AD BE EF CA FE"))
36 reader = OTTableReader(deHexStr("C3 13 37"))
41 reader = OTTableReader(deHexStr("CA FE BE EF"))
46 reader = OTTableReader(deHexStr("46 6F 6F 64"))
51 reader = OTTableReader(deHexStr("48 65 6C 6C 6F"))
[all …]
DotConverters_test.py7 from fontTools.misc.textTools import deHexStr
70 reader = OTTableReader(deHexStr("0002 0001 DEAD 0002"))
76 reader = OTTableReader(deHexStr("0003"))
83 self.assertEqual(writer.getData(), deHexStr("0002"))
91 reader = OTTableReader(deHexStr("FF0000EE"))
98 self.assertEqual(writer.getData(), deHexStr("FF000003"))
122 reader = OTTableReader(deHexStr("0123"))
128 self.assertEqual(writer.getData(), deHexStr("0123"))
166 reader = OTTableReader(deHexStr("FE"))
173 self.assertEqual(writer.getData(), deHexStr("FD"))
[all …]
D_g_v_a_r_test.py4 from fontTools.misc.textTools import deHexStr, hexStr
13 GVAR_DATA = deHexStr(
120 GVAR_DATA_EMPTY_VARIATIONS = deHexStr(
187 self.assertEqual((deHexStr("00 00 00 02 FF C0"), 0),
191 self.assertEqual((deHexStr("00 00 00 00 00 00 00 04 CA FE BE EF"), 1),
196 data = deHexStr("00 11 22 33 44 55 66 77 88 99 aa bb")
203 data = deHexStr("00 11 22 33 44 55 66 77 88 99 aa bb")
D_k_e_r_n_test.py6 from fontTools.misc.textTools import deHexStr
12 KERN_VER_0_FMT_0_DATA = deHexStr(
38 KERN_VER_1_FMT_0_DATA = deHexStr(
64 KERN_VER_0_FMT_UNKNOWN_DATA = deHexStr(
94 KERN_VER_1_FMT_UNKNOWN_DATA = deHexStr(
124 KERN_VER_0_FMT_0_OVERFLOWING_DATA = deHexStr(
135 ) + deHexStr(' '.join(
300 header_fmt = deHexStr(
305 header_fmt = deHexStr(
309 st.data = header_fmt + deHexStr(kern_data)
D_h_m_t_x_test.py5 from fontTools.misc.textTools import deHexStr
41 data = deHexStr("02A2 FFF5 0278 004F 02C6 0036")
52 metrics = deHexStr("02A2 FFF5 0278 004F")
53 extraSideBearings = deHexStr("0036 FFFC")
100 data = deHexStr("8000 0000")
118 data = deHexStr("0190 001E 0190 0028 0190 0032")
143 self.assertEqual(data, deHexStr("02A2 FFF5 0278 004F 02C6 0036"))
161 self.assertEqual(data, deHexStr("0278 FFF5 004F 0036 FFFC"))
195 self.assertEqual(data, deHexStr("0001 0001 0000 0001 0000"))
213 self.assertEqual(data, deHexStr("0190 001E 0190 0028 0190 0032"))
D_b_s_l_n_test.py4 from fontTools.misc.textTools import deHexStr, hexStr
11 BSLN_FORMAT_0_DATA = deHexStr(
70 BSLN_FORMAT_1_DATA = deHexStr(
140 BSLN_FORMAT_2_DATA = deHexStr(
201 BSLN_FORMAT_3_DATA = deHexStr(
DS_T_A_T_test.py4 from fontTools.misc.textTools import deHexStr
9 STAT_DATA = deHexStr(
77 STAT_DATA_WITH_AXIS_JUNK = deHexStr(
117 STAT_DATA_AXIS_VALUE_FORMAT3 = deHexStr(
160 STAT_DATA_VERSION_1_1 = deHexStr(
D_a_n_k_r_test.py5 from fontTools.misc.textTools import deHexStr, hexStr
17 ANKR_FORMAT_0_DATA = deHexStr(
59 ANKR_FORMAT_0_STRAY_DATA = deHexStr(
80 ANKR_FORMAT_0_SHARING_DATA = deHexStr(
D_o_p_b_d_test.py4 from fontTools.misc.textTools import deHexStr, hexStr
11 OPBD_FORMAT_0_DATA = deHexStr(
47 OPBD_FORMAT_1_DATA = deHexStr(
85 OPBD_APPLE_CHANCERY_DATA = deHexStr(
DotTables_test.py5 from fontTools.misc.textTools import deHexStr, hexStr
392 r.decompile(OTTableReader(deHexStr("1234fffd")),
424 a.decompile(OTTableReader(deHexStr("1234f117deadbeef")),
444 actionReader = OTTableReader(deHexStr("DEADBEEF 7FFFFFFE 80000003"))
445 a.decompile(OTTableReader(deHexStr("1234FAB30001")),
476 deHexStr("00000000 00000001 80000002 80000001"))
478 deHexStr("00000000 00000001 80000002"): 0,
479 deHexStr("00000001 80000002"): 1,
480 deHexStr("80000002"): 2,
481 deHexStr("80000001"): 3,
[all …]
DTupleVariation_test.py6 from fontTools.misc.textTools import deHexStr, hexStr
30 SKIA_GVAR_SHARED_TUPLES_DATA = deHexStr(
51 SKIA_GVAR_I_DATA = deHexStr(
369 data = deHexStr("DE AD C0 00 20 00 DE AD")
374 data = deHexStr("7F B9 80 35")
406 … points, offset = TupleVariation.decompilePoints_(numPointsInGlyph, deHexStr(data), offset, "gvar")
448 deHexStr("02 01 03 06"), 0, "cvar")
524 self.assertEqual(([0, 0, 0, 0], 1), decompileDeltas(4, deHexStr("83"), 0))
526 self.assertEqual(([258, -1], 5), decompileDeltas(2, deHexStr("41 01 02 FF FF"), 0))
528 self.assertEqual(([-127, 7], 3), decompileDeltas(2, deHexStr("01 81 07"), 0))
[all …]
DC_P_A_L_test.py4 from fontTools.misc.textTools import deHexStr
9 CPAL_DATA_V0 = deHexStr(
18 CPAL_DATA_V0_SHARING_COLORS = deHexStr(
27 CPAL_DATA_V1_NOLABELS_NOTYPES = deHexStr(
39 CPAL_DATA_V1 = deHexStr(
DT_S_I__0_test.py3 from fontTools.misc.textTools import deHexStr
25 TSI0_DATA = deHexStr(
44 EMPTY_TSI0_DATA = deHexStr(
D_m_o_r_x_test.py5 from fontTools.misc.textTools import deHexStr, hexStr
14 MORX_NONCONTEXTUAL_DATA = deHexStr(
89 MORX_REARRANGEMENT_DATA = deHexStr(
271 MORX_CONTEXTUAL_DATA = deHexStr(
487 MORX_LIGATURE_DATA = deHexStr(
713 MORX_INSERTION_DATA = deHexStr(
D_l_c_a_r_test.py4 from fontTools.misc.textTools import deHexStr, hexStr
11 LCAR_FORMAT_0_DATA = deHexStr(
44 LCAR_FORMAT_1_DATA = deHexStr(
D_p_r_o_p_test.py4 from fontTools.misc.textTools import deHexStr, hexStr
9 PROP_FORMAT_0_DATA = deHexStr(
24 PROP_FORMAT_1_DATA = deHexStr(
D_a_v_a_r_test.py4 from fontTools.misc.textTools import deHexStr
14 TEST_DATA = deHexStr(
38 self.assertRaises(TTLibError, avar.decompile, deHexStr("02 01 03 06 00 00 00 00"), font)
D_m_e_t_a_test.py4 from fontTools.misc.textTools import deHexStr
13 META_DATA = deHexStr(
20 META_DATA_TEXT = deHexStr(
D_c_v_a_r_test.py5 from fontTools.misc.textTools import deHexStr, hexStr
12 CVAR_DATA = deHexStr(
25 CVAR_PRIVATE_POINT_DATA = deHexStr(
D_f_v_a_r_test.py4 from fontTools.misc.textTools import deHexStr
13 FVAR_DATA = deHexStr(
20 FVAR_AXIS_DATA = deHexStr(
23 FVAR_INSTANCE_DATA_WITHOUT_PSNAME = deHexStr(
27 FVAR_INSTANCE_DATA_WITHOUT_PSNAME + deHexStr("02 34"))
D_m_o_r_t_test.py4 from fontTools.misc.textTools import deHexStr, hexStr
19 MORT_NONCONTEXTUAL_DATA = deHexStr(
DM_V_A_R_test.py4 from fontTools.misc.textTools import deHexStr, hexStr
10 MVAR_DATA = deHexStr(
D_g_c_i_d_test.py5 from fontTools.misc.textTools import deHexStr, hexStr
12 GCID_DATA = deHexStr(
D_c_i_d_g_test.py5 from fontTools.misc.textTools import deHexStr, hexStr
12 CIDG_DATA = deHexStr(
D_t_r_a_k_test.py4 from fontTools.misc.textTools import deHexStr
12 OSAKA_TRAK_TABLE_DATA = deHexStr(
75 OSAKA_VERT_ONLY_TRAK_TABLE_DATA = deHexStr(
108 SKIA_TRAK_TABLE_DATA = deHexStr(

12