Searched refs:deHexStr (Results 1 – 25 of 32) sorted by relevance
12
/external/fonttools/Tests/ttLib/tables/ |
D | otBase_test.py | 1 from fontTools.misc.textTools import deHexStr 8 reader = OTTableReader(deHexStr("CA FE")) 13 reader = OTTableReader(deHexStr("CA FE BE EF")) 18 reader = OTTableReader(deHexStr("C3")) 23 reader = OTTableReader(deHexStr("CA FE")) 28 reader = OTTableReader(deHexStr("DE AD BE EF CA FE")) 34 reader = OTTableReader(deHexStr("C3 13 37")) 39 reader = OTTableReader(deHexStr("CA FE BE EF")) 44 reader = OTTableReader(deHexStr("46 6F 6F 64")) 49 reader = OTTableReader(deHexStr("48 65 6C 6C 6F")) [all …]
|
D | otConverters_test.py | 3 from fontTools.misc.textTools import deHexStr 66 reader = OTTableReader(deHexStr("0002 0001 DEAD 0002")) 72 reader = OTTableReader(deHexStr("0003")) 79 self.assertEqual(writer.getData(), deHexStr("0002")) 87 reader = OTTableReader(deHexStr("FF0000EE")) 94 self.assertEqual(writer.getData(), deHexStr("FF000003")) 118 reader = OTTableReader(deHexStr("0123")) 124 self.assertEqual(writer.getData(), deHexStr("0123")) 162 reader = OTTableReader(deHexStr("FE")) 169 self.assertEqual(writer.getData(), deHexStr("FD")) [all …]
|
D | _b_s_l_n_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 9 BSLN_FORMAT_0_DATA = deHexStr( 68 BSLN_FORMAT_1_DATA = deHexStr( 138 BSLN_FORMAT_2_DATA = deHexStr( 199 BSLN_FORMAT_3_DATA = deHexStr(
|
D | _h_m_t_x_test.py | 2 from fontTools.misc.textTools import deHexStr 38 data = deHexStr("02A2 FFF5 0278 004F 02C6 0036") 49 metrics = deHexStr("02A2 FFF5 0278 004F") 50 extraSideBearings = deHexStr("0036 FFFC") 97 data = deHexStr("8000 0000") 115 data = deHexStr("0190 001E 0190 0028 0190 0032") 140 self.assertEqual(data, deHexStr("02A2 FFF5 0278 004F 02C6 0036")) 158 self.assertEqual(data, deHexStr("0278 FFF5 004F 0036 FFFC")) 192 self.assertEqual(data, deHexStr("0001 0001 0000 0001 0000")) 210 self.assertEqual(data, deHexStr("0190 001E 0190 0028 0190 0032"))
|
D | _k_e_r_n_test.py | 4 from fontTools.misc.textTools import deHexStr 10 KERN_VER_0_FMT_0_DATA = deHexStr( 36 KERN_VER_1_FMT_0_DATA = deHexStr( 62 KERN_VER_0_FMT_UNKNOWN_DATA = deHexStr( 92 KERN_VER_1_FMT_UNKNOWN_DATA = deHexStr( 122 KERN_VER_0_FMT_0_OVERFLOWING_DATA = deHexStr( 133 ) + deHexStr(' '.join( 298 header_fmt = deHexStr( 303 header_fmt = deHexStr( 307 st.data = header_fmt + deHexStr(kern_data)
|
D | _g_v_a_r_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 11 GVAR_DATA = deHexStr( 118 GVAR_DATA_EMPTY_VARIATIONS = deHexStr( 201 self.assertEqual((deHexStr("00 00 00 02 FF C0"), 0), 205 self.assertEqual((deHexStr("00 00 00 00 00 00 00 04 CA FE BE EF"), 1), 210 data = deHexStr("00 11 22 33 44 55 66 77 88 99 aa bb") 217 data = deHexStr("00 11 22 33 44 55 66 77 88 99 aa bb")
|
D | S_T_A_T_test.py | 2 from fontTools.misc.textTools import deHexStr 7 STAT_DATA = deHexStr( 75 STAT_DATA_WITH_AXIS_JUNK = deHexStr( 115 STAT_DATA_AXIS_VALUE_FORMAT3 = deHexStr( 158 STAT_DATA_VERSION_1_1 = deHexStr(
|
D | _a_n_k_r_test.py | 3 from fontTools.misc.textTools import deHexStr, hexStr 15 ANKR_FORMAT_0_DATA = deHexStr( 57 ANKR_FORMAT_0_STRAY_DATA = deHexStr( 78 ANKR_FORMAT_0_SHARING_DATA = deHexStr(
|
D | _o_p_b_d_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 9 OPBD_FORMAT_0_DATA = deHexStr( 45 OPBD_FORMAT_1_DATA = deHexStr( 83 OPBD_APPLE_CHANCERY_DATA = deHexStr(
|
D | T_S_I__0_test.py | 2 from fontTools.misc.textTools import deHexStr 24 TSI0_DATA = deHexStr( 43 EMPTY_TSI0_DATA = deHexStr(
|
D | C_P_A_L_test.py | 2 from fontTools.misc.textTools import deHexStr 7 CPAL_DATA_V0 = deHexStr( 16 CPAL_DATA_V0_SHARING_COLORS = deHexStr( 25 CPAL_DATA_V1_NOLABELS_NOTYPES = deHexStr( 37 CPAL_DATA_V1 = deHexStr(
|
D | _p_r_o_p_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 7 PROP_FORMAT_0_DATA = deHexStr( 22 PROP_FORMAT_1_DATA = deHexStr(
|
D | _l_c_a_r_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 9 LCAR_FORMAT_0_DATA = deHexStr( 42 LCAR_FORMAT_1_DATA = deHexStr(
|
D | otTables_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 390 r.decompile(OTTableReader(deHexStr("1234fffd")), 422 a.decompile(OTTableReader(deHexStr("1234f117deadbeef")), 442 actionReader = OTTableReader(deHexStr("DEADBEEF 7FFFFFFE 80000003")) 443 a.decompile(OTTableReader(deHexStr("1234FAB30001")), 474 deHexStr("00000000 00000001 80000002 80000001")) 476 deHexStr("00000000 00000001 80000002"): 0, 477 deHexStr("00000001 80000002"): 1, 478 deHexStr("80000002"): 2, 479 deHexStr("80000001"): 3, [all …]
|
D | _m_o_r_x_test.py | 3 from fontTools.misc.textTools import deHexStr, hexStr 12 MORX_NONCONTEXTUAL_DATA = deHexStr( 87 MORX_REARRANGEMENT_DATA = deHexStr( 269 MORX_CONTEXTUAL_DATA = deHexStr( 485 MORX_LIGATURE_DATA = deHexStr( 711 MORX_INSERTION_DATA = deHexStr(
|
D | _a_v_a_r_test.py | 2 from fontTools.misc.textTools import deHexStr 11 TEST_DATA = deHexStr( 46 self.assertRaises(TTLibError, avar.decompile, deHexStr("02 01 03 06 00 00 00 00"), font)
|
D | _m_e_t_a_test.py | 2 from fontTools.misc.textTools import deHexStr 12 META_DATA = deHexStr( 19 META_DATA_TEXT = deHexStr(
|
D | TupleVariation_test.py | 3 from fontTools.misc.textTools import deHexStr, hexStr 28 SKIA_GVAR_SHARED_TUPLES_DATA = deHexStr( 49 SKIA_GVAR_I_DATA = deHexStr( 406 data = deHexStr("DE AD C0 00 20 00 DE AD") 411 data = deHexStr("7F B9 80 35") 443 … points, offset = TupleVariation.decompilePoints_(numPointsInGlyph, deHexStr(data), offset, "gvar") 485 deHexStr("02 01 03 06"), 0, "cvar") 561 self.assertEqual(([0, 0, 0, 0], 1), decompileDeltas(4, deHexStr("83"), 0)) 563 self.assertEqual(([258, -1], 5), decompileDeltas(2, deHexStr("41 01 02 FF FF"), 0)) 565 self.assertEqual(([-127, 7], 3), decompileDeltas(2, deHexStr("01 81 07"), 0)) [all …]
|
D | _f_v_a_r_test.py | 2 from fontTools.misc.textTools import deHexStr 12 FVAR_DATA = deHexStr( 19 FVAR_AXIS_DATA = deHexStr( 22 FVAR_INSTANCE_DATA_WITHOUT_PSNAME = deHexStr( 26 FVAR_INSTANCE_DATA_WITHOUT_PSNAME + deHexStr("02 34"))
|
D | _c_i_d_g_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 9 CIDG_DATA = deHexStr(
|
D | M_V_A_R_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 8 MVAR_DATA = deHexStr(
|
D | _g_c_i_d_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 9 GCID_DATA = deHexStr(
|
D | _m_o_r_t_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 17 MORT_NONCONTEXTUAL_DATA = deHexStr(
|
D | _c_v_a_r_test.py | 2 from fontTools.misc.textTools import deHexStr, hexStr 9 CVAR_DATA = deHexStr( 22 CVAR_PRIVATE_POINT_DATA = deHexStr(
|
D | ttProgram_test.py | 3 from fontTools.misc.textTools import deHexStr 15 BYTECODE = deHexStr(
|
12