DWRITE_FONT_FILE_TYPE enumeration
The type of a font represented by a single font file. Font formats that consist of multiple files, for example Type 1 .PFM and .PFB, have separate enum values for each of the file types.
Syntax
enum DWRITE_FONT_FILE_TYPE {
DWRITE_FONT_FILE_TYPE_UNKNOWN,
DWRITE_FONT_FILE_TYPE_CFF,
DWRITE_FONT_FILE_TYPE_TRUETYPE,
DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION,
DWRITE_FONT_FILE_TYPE_TYPE1_PFM,
DWRITE_FONT_FILE_TYPE_TYPE1_PFB,
DWRITE_FONT_FILE_TYPE_VECTOR,
DWRITE_FONT_FILE_TYPE_BITMAP
};
Constants
- DWRITE_FONT_FILE_TYPE_UNKNOWN
-
Font type is not recognized by the DirectWrite font system.
- DWRITE_FONT_FILE_TYPE_CFF
-
OpenType font with CFF outlines.
- DWRITE_FONT_FILE_TYPE_TRUETYPE
-
OpenType font with TrueType outlines.
- DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION
-
OpenType font that contains a TrueType collection.
- DWRITE_FONT_FILE_TYPE_TYPE1_PFM
-
Type 1 PFM font.
- DWRITE_FONT_FILE_TYPE_TYPE1_PFB
-
Type 1 PFB font.
- DWRITE_FONT_FILE_TYPE_VECTOR
-
Vector .FON font.
- DWRITE_FONT_FILE_TYPE_BITMAP
-
Bitmap .FON font.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|