IDWriteFont2::IsColorFont method (dwrite_2.h)

Enables determining whether a color rendering path is potentially necessary.

Syntax

BOOL IsColorFont();

Return value

Type: BOOL

Returns TRUE if the font has color information (COLR and CPAL tables); otherwise FALSE.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite_2.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFont2