IDWriteFontFace interface (dwrite.h)

This interface exposes various font data such as metrics, names, and glyph outlines. It contains font face type, appropriate file references, and face identification data.

This interface extends IUnknown.

Inheritance

The IDWriteFontFace interface inherits from the IUnknown interface.

Methods

The IDWriteFontFace interface has these methods.

 
IDWriteFontFace::GetDesignGlyphMetrics

Obtains ideal (resolution-independent) glyph metrics in font design units.
IDWriteFontFace::GetFiles

Obtains the font files representing a font face.
IDWriteFontFace::GetGdiCompatibleGlyphMetrics

Obtains glyph metrics in font design units with the return values compatible with what GDI would produce.
IDWriteFontFace::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. (IDWriteFontFace.GetGdiCompatibleMetrics)
IDWriteFontFace::GetGlyphCount

Obtains the number of glyphs in the font face.
IDWriteFontFace::GetGlyphIndices

Returns the nominal mapping of UCS4 Unicode code points to glyph indices as defined by the font 'CMAP' table.
IDWriteFontFace::GetGlyphRunOutline

Computes the outline of a run of glyphs by calling back to the outline sink interface.
IDWriteFontFace::GetIndex

Obtains the index of a font face in the context of its font files.
IDWriteFontFace::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. (IDWriteFontFace.GetMetrics)
IDWriteFontFace::GetRecommendedRenderingMode

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

Obtains the algorithmic style simulation flags of a font face. (IDWriteFontFace.GetSimulations)
IDWriteFontFace::GetType

Obtains the file format type of a font face.
IDWriteFontFace::IsSymbolFont

Determines whether the font is a symbol font. (IDWriteFontFace.IsSymbolFont)
IDWriteFontFace::ReleaseFontTable

Releases the table obtained earlier from TryGetFontTable.
IDWriteFontFace::TryGetFontTable

Finds the specified OpenType font table if it exists and returns a pointer to it. The function accesses the underlying font data through the IDWriteFontFileStream interface implemented by the font file loader.

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]
Target Platform Windows
Header dwrite.h