Home
last modified time | relevance | path

Searched refs:cpal (Results 1 – 9 of 9) sorted by relevance

/external/fonttools/Tests/ttLib/tables/
DC_P_A_L_test.py64 cpal = newTable('CPAL')
65 cpal.decompile(CPAL_DATA_V0, ttFont=None)
66 self.assertEqual(cpal.version, 0)
67 self.assertEqual(cpal.numPaletteEntries, 2)
68 self.assertEqual(repr(cpal.palettes),
70 self.assertEqual(cpal.paletteLabels, [0, 0])
71 self.assertEqual(cpal.paletteTypes, [0, 0])
72 self.assertEqual(cpal.paletteEntryLabels, [0, 0])
75 cpal = newTable('CPAL')
76 cpal.decompile(CPAL_DATA_V0_SHARING_COLORS, ttFont=None)
[all …]
/external/freetype/src/sfnt/
Dttcpal.c84 Cpal* cpal = NULL; in tt_face_load_cpal() local
102 if ( FT_NEW( cpal ) ) in tt_face_load_cpal()
105 cpal->version = FT_NEXT_USHORT( p ); in tt_face_load_cpal()
106 if ( cpal->version > 1 ) in tt_face_load_cpal()
112 cpal->num_colors = FT_NEXT_USHORT( p ); in tt_face_load_cpal()
121 if ( cpal->num_colors * COLOR_SIZE > table_size - colors_offset ) in tt_face_load_cpal()
124 cpal->color_indices = p; in tt_face_load_cpal()
125 cpal->colors = (FT_Byte*)( table + colors_offset ); in tt_face_load_cpal()
127 if ( cpal->version == 1 ) in tt_face_load_cpal()
210 cpal->table = table; in tt_face_load_cpal()
[all …]
Dttcolr.c100 if ( !face->cpal ) in tt_face_load_colr()
Dsfobjs.c1349 LOAD_( cpal ); in sfnt_load_face()
/external/harfbuzz_ng/test/api/
Dtest-ot-color.c100 static hb_face_t *cpal = NULL; variable
351 g_assert (hb_ot_color_has_layers (cpal) == TRUE); in test_hb_ot_color_has_data()
359 g_assert (hb_ot_color_has_palettes (cpal) == TRUE); in test_hb_ot_color_has_data()
367 g_assert (hb_ot_color_has_svg (cpal) == FALSE); in test_hb_ot_color_has_data()
375 g_assert (hb_ot_color_has_png (cpal) == FALSE); in test_hb_ot_color_has_data()
461 cpal = hb_test_open_font_file ("fonts/chromacheck-colr.ttf"); in main()
484 hb_face_destroy (cpal); in main()
/external/freetype/include/freetype/internal/
Dtttypes.h1786 void* cpal; member
/external/skia/third_party/harfbuzz/
DBUILD.gn88 "$_src/hb-ot-color-cpal-table.hh",
/external/harfbuzz_ng/src/
DMakefile.sources56 hb-ot-color-cpal-table.hh \
/external/freetype/
DChangeLog574 `cpal' is NULL.
728 `cpal'.
743 `colr_and_cpal' fields with `cpal' and `colr'.
907 the `CPAL' elements; I thus plan to add a `cpal' field to