DWRITE_GLYPH_IMAGE_FORMATS Enumeration

Specifies which formats are supported in the font, either at a font-wide level or per glyph.

Syntax

typedef enum DWRITE_GLYPH_IMAGE_FORMATS {
  DWRITE_GLYPH_IMAGE_FORMATS_NONE,
  DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE,
  DWRITE_GLYPH_IMAGE_FORMATS_CFF,
  DWRITE_GLYPH_IMAGE_FORMATS_COLR,
  DWRITE_GLYPH_IMAGE_FORMATS_SVG,
  DWRITE_GLYPH_IMAGE_FORMATS_PNG,
  DWRITE_GLYPH_IMAGE_FORMATS_JPEG,
  DWRITE_GLYPH_IMAGE_FORMATS_TIFF,
  DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8
} ;

Constants

DWRITE_GLYPH_IMAGE_FORMATS_NONE Indicates no data is available for this glyph.
DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE The glyph has TrueType outlines.
DWRITE_GLYPH_IMAGE_FORMATS_CFF The glyph has CFF outlines.
DWRITE_GLYPH_IMAGE_FORMATS_COLR The glyph has multilayered COLR data.
DWRITE_GLYPH_IMAGE_FORMATS_SVG The glyph has SVG outlines as standard XML. Fonts may store the content gzip'd rather than plain text, indicated by the first two bytes as gzip header {0x1F 0x8B}.
DWRITE_GLYPH_IMAGE_FORMATS_PNG The glyph has PNG image data, with standard PNG IHDR.
DWRITE_GLYPH_IMAGE_FORMATS_JPEG The glyph has JPEG image data, with standard JIFF SOI header.
DWRITE_GLYPH_IMAGE_FORMATS_TIFF The glyph has TIFF image data.
DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 The glyph has raw 32-bit premultiplied BGRA data.

Requirements

   
Header dcommon.h (include Dwrite_3.h)