DWRITE_FONT_FILE_TYPE enumeration (dwrite.h)
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
typedef enum DWRITE_FONT_FILE_TYPE {
DWRITE_FONT_FILE_TYPE_UNKNOWN,
DWRITE_FONT_FILE_TYPE_CFF,
DWRITE_FONT_FILE_TYPE_TRUETYPE,
DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION,
DWRITE_FONT_FILE_TYPE_TYPE1_PFM,
DWRITE_FONT_FILE_TYPE_TYPE1_PFB,
DWRITE_FONT_FILE_TYPE_VECTOR,
DWRITE_FONT_FILE_TYPE_BITMAP,
DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION
} ;
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_OPENTYPE_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. |
DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION OpenType font that contains a TrueType collection. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Header | dwrite.h |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for