DWRITE_GLYPH_IMAGE_FORMATS enumeration (dcommon.h)

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 = 0x00000000,
  DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE = 0x00000001,
  DWRITE_GLYPH_IMAGE_FORMATS_CFF = 0x00000002,
  DWRITE_GLYPH_IMAGE_FORMATS_COLR = 0x00000004,
  DWRITE_GLYPH_IMAGE_FORMATS_SVG = 0x00000008,
  DWRITE_GLYPH_IMAGE_FORMATS_PNG = 0x00000010,
  DWRITE_GLYPH_IMAGE_FORMATS_JPEG = 0x00000020,
  DWRITE_GLYPH_IMAGE_FORMATS_TIFF = 0x00000040,
  DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 = 0x00000080
} ;

Constants

 
DWRITE_GLYPH_IMAGE_FORMATS_NONE
Value: 0x00000000
Indicates no data is available for this glyph.
DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE
Value: 0x00000001
The glyph has TrueType outlines.
DWRITE_GLYPH_IMAGE_FORMATS_CFF
Value: 0x00000002
The glyph has CFF outlines.
DWRITE_GLYPH_IMAGE_FORMATS_COLR
Value: 0x00000004
The glyph has multilayered COLR data.
DWRITE_GLYPH_IMAGE_FORMATS_SVG
Value: 0x00000008
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
Value: 0x00000010
The glyph has PNG image data, with standard PNG IHDR.
DWRITE_GLYPH_IMAGE_FORMATS_JPEG
Value: 0x00000020
The glyph has JPEG image data, with standard JIFF SOI header.
DWRITE_GLYPH_IMAGE_FORMATS_TIFF
Value: 0x00000040
The glyph has TIFF image data.
DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8
Value: 0x00000080
The glyph has raw 32-bit premultiplied BGRA data.

Requirements

   
Header dcommon.h (include Dwrite_3.h)