cairo_color_mode_t

Specifies if color fonts are to be rendered using the color glyphs or outline glyphs. Glyphs that do not have a color presentation, and non-color fonts are not affected by this font option.

Values

ValueMeaning
Default0

Use the default color mode for font backend and target device, since 1.18.

NoColor1

Disable rendering color glyphs. Glyphs are always rendered as outline glyphs, since 1.18.

Color2

Enable rendering color glyphs. If the font contains a color presentation for a glyph, and when supported by the font backend, the glyph will be rendered in color, since 1.18.