Back to API Reference
Class
UniTextColorFont
sealed
Inherits:UniTextFont
A color-font asset — embedded color-font bytes (CBDT/sbix bitmap or COLRv0/COLRv1 vector) rendered through the shared color-glyph pipeline. The color analog of UniTextFont: add it to a Font Stack like any other font and it serves the codepoints it covers via the normal resolution chain. The always-on system emoji font (EmojiFont) stays the privileged provider for emoji-presentation codepoints.
Remarks
All color fonts share one color atlas. The first color font loaded, normally the system emoji font, sets its tile pixel size, and glyphs of a font with a larger
ColorPixelSize are downscaled to it. Rasterization runs through FreeType and Blend2D on every platform.