IDWriteFontResource interface (dwrite_3.h)

Provides axis information for a font resource, and is used to create specific font face instances.

This interface extends IUnknown.

Inheritance

The IDWriteFontResource interface inherits from the IUnknown interface.

Methods

The IDWriteFontResource interface has these methods.

 
IDWriteFontResource::CreateFontFace

Creates a font face instance with specific axis values.
IDWriteFontResource::CreateFontFaceReference

Creates a font face reference with specific axis values.
IDWriteFontResource::GetAxisNames

Retrieves the localized names of a font axis.
IDWriteFontResource::GetAxisValueNameCount

Retrieves the number of named values for a specific axis.
IDWriteFontResource::GetAxisValueNames

Retrieves the localized names of specific values for a font axis.
IDWriteFontResource::GetDefaultFontAxisValues

Retrieves the default values for all axes supported by the font resource.
IDWriteFontResource::GetFontAxisAttributes

Retrieves attributes describing the given axis, such as whether the font author recommends to hide the axis in user interfaces.
IDWriteFontResource::GetFontAxisCount

Retrieves the number of axes supported by the font resource.
IDWriteFontResource::GetFontAxisRanges

Retrieves the value ranges of each axis.
IDWriteFontResource::GetFontFaceIndex

Retrieves the zero-based index of the font face within its font file.
IDWriteFontResource::GetFontFile

Retrieves the font file of the resource.
IDWriteFontResource::HasVariations

Determines whether this font face's resource supports any variable axes. (IDWriteFontResource::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