71 return face->table.CPAL->has_data ();
87 return face->table.CPAL->get_palette_count ();
108 unsigned int palette_index)
110 return face->table.CPAL->get_palette_name_id (palette_index);
130 unsigned int color_index)
132 return face->table.CPAL->get_color_name_id (color_index);
148 unsigned int palette_index)
150 return face->table.CPAL->get_palette_flags (palette_index);
176 unsigned int palette_index,
178 unsigned int *colors_count ,
181 return face->table.CPAL->get_palette_colors (palette_index,
start_offset, colors_count, colors);
202 return face->table.COLR->has_data ();
225 unsigned int *layer_count,
249 return face->table.SVG->has_data ();
268 return face->table.SVG->reference_blob_for_glyph (glyph);
289 return face->table.CBDT->has_data () ||
face->table.sbix->has_data ();
312 if (
font->face->table.sbix->has_data ())
313 blob =
font->face->table.sbix->reference_png (
font, glyph,
nullptr,
nullptr,
nullptr);
315 if (!blob->
length &&
font->face->table.CBDT->has_data ())
316 blob =
font->face->table.CBDT->reference_png (
font, glyph);
hb_blob_t * hb_blob_get_empty()
unsigned int hb_ot_color_palette_get_count(hb_face_t *face)
hb_ot_color_palette_flags_t hb_ot_color_palette_get_flags(hb_face_t *face, unsigned int palette_index)
hb_bool_t hb_ot_color_has_layers(hb_face_t *face)
unsigned int hb_ot_color_glyph_get_layers(hb_face_t *face, hb_codepoint_t glyph, unsigned int start_offset, unsigned int *layer_count, hb_ot_color_layer_t *layers)
unsigned int hb_ot_color_palette_get_colors(hb_face_t *face, unsigned int palette_index, unsigned int start_offset, unsigned int *colors_count, hb_color_t *colors)
hb_bool_t hb_ot_color_has_svg(hb_face_t *face)
hb_bool_t hb_ot_color_has_png(hb_face_t *face)
hb_ot_name_id_t hb_ot_color_palette_color_get_name_id(hb_face_t *face, unsigned int color_index)
hb_ot_name_id_t hb_ot_color_palette_get_name_id(hb_face_t *face, unsigned int palette_index)
hb_blob_t * hb_ot_color_glyph_reference_svg(hb_face_t *face, hb_codepoint_t glyph)
hb_bool_t hb_ot_color_has_palettes(hb_face_t *face)
hb_blob_t * hb_ot_color_glyph_reference_png(hb_font_t *font, hb_codepoint_t glyph)
hb_ot_color_palette_flags_t
HB_EXTERN unsigned int start_offset
unsigned int hb_ot_name_id_t
const EGLAttrib EGLOutputLayerEXT * layers
HB_BEGIN_DECLS typedef int hb_bool_t