SetColorEmojiFallbackFont

Text, Fonts, Colour

Description

Assign an explicit fallback colour font used when DrawColorText encounters emoji or symbols missing colour coverage in the active font

Syntax

Delphi

Function TPDFlib.SetColorEmojiFallbackFont(FontID: Integer): Integer;

Parameters

FontIDHandle of a loaded document colour font to search first on fallback, or 0 to clear the explicit fallback font

Return values

Returns 1 when applied or cleared, or 0 when a non-zero handle does not match a font in the selected document.

Remarks

During DrawColorText fallback lookup, the explicit fallback font is searched before other loaded document fonts and before the system colour emoji font.

See also

DrawColorText, SetColorGlyphMode, GetLastColorGlyphDiagnostics