IDWriteFontFamily2 interface (dwrite_3.h)

Represents a family of related fonts. IDWriteFontFamily2 adds new facilities, including retrieving fonts by font axis values.

This interface extends IDWriteFontFamily1.

Inheritance

The IDWriteFontFamily2 interface inherits from the IDWriteFontFamily1 interface.

Methods

The IDWriteFontFamily2 interface has these methods.

 
IDWriteFontFamily2::GetFontSet

Retrieves the underlying font set used by this family.
IDWriteFontFamily2::GetMatchingFonts

Retrieves a list of fonts in the font family, ranked in order of how well they match the specified axis values.

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

IDWriteFontFamily1