IDWriteFontFace1 interface (dwrite_1.h)

Represents an absolute reference to a font face. This interface contains font face type, appropriate file references, and face identification data.

This interface extends IDWriteFontFace. Various font data such as metrics, names, and glyph outlines are obtained from IDWriteFontFace.

Inheritance

The IDWriteFontFace1 interface inherits from the IDWriteFontFace interface.

Methods

The IDWriteFontFace1 interface has these methods.

 
IDWriteFontFace1::GetCaretMetrics

Gets caret metrics for the font in design units.
IDWriteFontFace1::GetDesignGlyphAdvances

Retrieves the advances in design units for a sequences of glyphs.
IDWriteFontFace1::GetGdiCompatibleGlyphAdvances

Returns the pixel-aligned advances for a sequences of glyphs.
IDWriteFontFace1::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. (IDWriteFontFace1.GetGdiCompatibleMetrics)
IDWriteFontFace1::GetKerningPairAdjustments

Retrieves the kerning pair adjustments from the font's kern table.
IDWriteFontFace1::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. (IDWriteFontFace1.GetMetrics)
IDWriteFontFace1::GetRecommendedRenderingMode

Determines the recommended rendering mode for the font, using the specified size and rendering parameters. (IDWriteFontFace1.GetRecommendedRenderingMode)
IDWriteFontFace1::GetUnicodeRanges

Retrieves a list of character ranges supported by a font.
IDWriteFontFace1::GetVerticalGlyphVariants

Retrieves the vertical forms of the nominal glyphs retrieved from GetGlyphIndices.
IDWriteFontFace1::HasKerningPairs

Determines whether the font supports pair-kerning.
IDWriteFontFace1::HasVerticalGlyphVariants

Determines whether the font has any vertical glyph variants.
IDWriteFontFace1::IsMonospacedFont

Determines whether the font of a text range is monospaced, that is, the font characters are the same fixed-pitch width.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite_1.h

See also

IDWriteFontFace