Table of Contents

Enum ColorFontSupport

Namespace
SixLabors.Fonts
Assembly
SixLabors.Fonts.dll

Specifies which color font formats are enabled for layout and rendering.

[Flags]
public enum ColorFontSupport

Fields

ColrV0 = 1

Enable rendering of COLR version 0 color glyphs (layered solid colors defined by COLR/CPAL tables).

ColrV1 = 2

Enable rendering of COLR version 1 color glyphs (paint graph-based color glyphs with gradients and transforms).

None = 0

Disable color font rendering entirely. All glyphs will be drawn as monochrome outlines.

Svg = 4

Enable rendering of color glyphs stored as SVG documents in the OpenType SVG table.

Remarks

This enumeration allows a renderer to select which OpenType color font technologies to honor when processing glyph runs. Multiple formats may be enabled simultaneously.