IDWriteFontFace5 interface (dwrite_3.h)

Represents an absolute reference to a font face. This interface contains font face type, appropriate file references, and face identification data. It adds new facilities such as comparing two font faces, retrieving font axis values, and retrieving the underlying font resource.

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

Inheritance

The IDWriteFontFace5 interface inherits from the IDWriteFontFace4 interface.

Methods

The IDWriteFontFace5 interface has these methods.

 
IDWriteFontFace5::Equals

Performs an equality comparison between the font face object on which Equals is being called and the font face object passed as a parameter.
IDWriteFontFace5::GetFontAxisValueCount

Retrieves the number of axes defined by the font. This includes both static and variable axes.
IDWriteFontFace5::GetFontAxisValues

Retrieves the list of axis values used by the font.
IDWriteFontFace5::GetFontResource

Retrieves the underlying font resource for this font face.
IDWriteFontFace5::HasVariations

Determines whether this font face's resource supports any variable axes. (IDWriteFontFace5::HasVariations)

Requirements

Requirement Value
Minimum supported client Windows 10 Build 16299
Minimum supported server Windows 10 Build 16299
Target Platform Windows
Header dwrite_3.h

See also

IDWriteFontFace4