Package: cairo

CEnum cairo:color-mode-t

Declaration

(cffi:defcenum color-mode-t
  :default
  :no-color
  :color)  

Values

:default
Use the default color mode for font backend and target device.
:no-color
Disable rendering color glyphs. Glyphs are always rendered as outline glyphs.
:color
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.

Details

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.

Since 1.18
 

See also

2025-1-29