DWRITE_FONT_SOURCE_TYPE enumeration (dwrite_3.h)

Defines constants that specify the mechanism by which a font came to be included in a font set.

Syntax

typedef enum DWRITE_FONT_SOURCE_TYPE {
  DWRITE_FONT_SOURCE_TYPE_UNKNOWN,
  DWRITE_FONT_SOURCE_TYPE_PER_MACHINE,
  DWRITE_FONT_SOURCE_TYPE_PER_USER,
  DWRITE_FONT_SOURCE_TYPE_APPX_PACKAGE,
  DWRITE_FONT_SOURCE_TYPE_REMOTE_FONT_PROVIDER
} ;

Constants

 
DWRITE_FONT_SOURCE_TYPE_UNKNOWN
Specifies that the font source is unknown, or is not any of the other defined font source types.
DWRITE_FONT_SOURCE_TYPE_PER_MACHINE
Specifies that the font source is a font file that's installed for all users on the device.
DWRITE_FONT_SOURCE_TYPE_PER_USER
Specifies that the font source is a font file that's installed for the current user.
DWRITE_FONT_SOURCE_TYPE_APPX_PACKAGE
Specifies that the font source is an APPX package, which includes one or more font files. The font source name is the full name of the package.
DWRITE_FONT_SOURCE_TYPE_REMOTE_FONT_PROVIDER
Specifies that the font source is a font provider for downloadable fonts.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header dwrite_3.h