Paints the glyph. This function is similar to
hb_font_paint_glyph_or_fail(), but if painting a color glyph
failed, it will fall back to painting an outline monochrome
glyph.
The painting instructions are returned by way of calls to
the callbacks of the funcs object, with paint_data passed
to them.
If the font has color palettes (see hb_ot_color_has_palettes()),
then palette_index selects the palette to use. If the font only
has one palette, this will be 0.
Paints the glyph. This function is similar to
hb_font_paint_glyph_or_fail(), but if painting a color glyph failed, it will fall back to painting an outline monochrome glyph.The painting instructions are returned by way of calls to the callbacks of the
funcsobject, withpaint_datapassed to them.If the font has color palettes (see
hb_ot_color_has_palettes()), thenpalette_indexselects the palette to use. If the font only has one palette, this will be 0.