IDWriteFontFace1 interface
Represents an absolute reference to a font face.
This interface contains the font face type, appropriate file references, and face identification data.
You obtain various font data like metrics, names, and glyph outlines from the IDWriteFontFace1 interface.
Members
The IDWriteFontFace1 interface inherits from IDWriteFontFace. IDWriteFontFace1 also has these types of members:
Methods
The IDWriteFontFace1 interface has these methods.
| Method | Description |
|---|---|
| GetCaretMetrics |
Gets caret metrics for the font in design units. |
| GetDesignGlyphAdvances |
Retrieves the advances in design units for a sequences of glyphs. |
| GetGdiCompatibleGlyphAdvances |
Returns the pixel-aligned advances for a sequences of glyphs. |
| GetGdiCompatibleMetrics |
Obtains design units and common metrics for the font face. These metrics are applicable to all the glyphs within a fontface and are used by applications for layout calculations. |
| GetKerningPairAdjustments |
Retrieves the kerning pair adjustments from the font's kern table. |
| 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. |
| GetRecommendedRenderingMode |
Determines the recommended rendering mode for the font, using the specified size and rendering parameters. |
| GetUnicodeRanges |
Retrieves a list of character ranges supported by a font. |
| GetVerticalGlyphVariants |
Retrieves the vertical forms of the nominal glyphs retrieved from GetGlyphIndices. |
| HasKerningPairs |
Determines whether the font supports pair-kerning. |
| HasVerticalGlyphVariants |
Determines whether the font has any vertical glyph variants. |
| IsMonospacedFont |
Determines whether the font of a text range is monospaced, that is, the font characters are the same fixed-pitch width. |
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also