IDWriteFont Interface
Represents a physical font in a font collection. This interface is used to create font faces from physical fonts, or to retrieve information such as font face metrics or face names from existing font faces.
Mitglieder
IDWriteFontSchnittstelle erbt von der IUnknown-Schnittstelle. IDWriteFont umfasst auch die folgenden Typen von Mitgliedern:
- Methoden
Methoden
IDWriteFontSchnittstelle umfasst die folgenden Methoden.
Methode | Beschreibung |
---|---|
CreateFontFace | Creates a font face object for the font. |
GetFaceNames | Gets a localized strings collection containing the face names for the font (for example, Regular or Bold), indexed by locale name. |
GetFontFamily | Gets the font family to which the specified font belongs. |
GetInformationalStrings | Gets a localized strings collection containing the specified informational strings, indexed by locale name. |
GetMetrics | Obtains design units and common metrics for the font face. These metrics are applicable to all the glyphs within a font face and are used by applications for layout calculations. |
GetSimulations | Gets a value that indicates what simulations are applied to the specified font. |
GetStretch | Gets the stretch, or width of the specified font. |
GetStyle | Gets the style, or incline of the specified font. |
GetWeight | Gets the weight, or stroke thickness of the specified font. |
HasCharacter | Determines whether the font supports a specified character. |
IsSymbolFont | Determines whether the font is a symbol font. |
Anforderungen
Mindestens unterstützter Client |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista |
Mindestens unterstützter Server |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 |
Header |
Dwrite.h |
Bibliothek |
Dwrite.lib |
DLL |
Dwrite.dll |