DWRITE_FONT_FACE_TYPE enumeration
Indicates the file format of a complete font face.
Syntax
enum DWRITE_FONT_FACE_TYPE {
DWRITE_FONT_FACE_TYPE_CFF,
DWRITE_FONT_FACE_TYPE_RAW_CFF,
DWRITE_FONT_FACE_TYPE_TRUETYPE,
DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION,
DWRITE_FONT_FACE_TYPE_TYPE1,
DWRITE_FONT_FACE_TYPE_VECTOR,
DWRITE_FONT_FACE_TYPE_BITMAP,
DWRITE_FONT_FACE_TYPE_UNKNOWN
};
Constants
- DWRITE_FONT_FACE_TYPE_CFF
-
OpenType font face with CFF outlines.
- DWRITE_FONT_FACE_TYPE_RAW_CFF
-
The font data includes only the CFF table from an OpenType CFF font. This font face type can be used only for embedded fonts (i.e., custom font file loaders) and the resulting font face object supports only the minimum functionality necessary to render glyphs.
- DWRITE_FONT_FACE_TYPE_TRUETYPE
-
OpenType font face with TrueType outlines.
- DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION
-
OpenType font face that is a part of a TrueType collection.
- DWRITE_FONT_FACE_TYPE_TYPE1
-
A Type 1 font face.
- DWRITE_FONT_FACE_TYPE_VECTOR
-
A vector .FON format font face.
- DWRITE_FONT_FACE_TYPE_BITMAP
-
A bitmap .FON format font face.
- DWRITE_FONT_FACE_TYPE_UNKNOWN
-
Font face type is not recognized by the DirectWrite font system.
Remarks
Font formats that consist of multiple files, such as Type 1 .PFM and .PFB, have a single enum entry.
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 |
|