IDWriteFontFaceReference interface (dwrite_3.h)
Represents a reference to a font face. A uniquely identifying reference to a font, from which you can create a font face to query font metrics and use for rendering. A font face reference consists of a font file, font face index, and font face simulation. The file data may or may not be physically present on the local machine yet.
Inheritance
The IDWriteFontFaceReference interface inherits from the IUnknown interface. IDWriteFontFaceReference also has these types of members:
Methods
The IDWriteFontFaceReference interface has these methods.
IDWriteFontFaceReference::CreateFontFace Creates a font face from the reference for use with layout, shaping, or rendering. |
IDWriteFontFaceReference::CreateFontFaceWithSimulations Creates a font face with alternate font simulations, for example, to explicitly simulate a bold font face out of a regular variant. |
IDWriteFontFaceReference::EnqueueCharacterDownloadRequest Adds a request to the font download queue (IDWriteFontDownloadQueue). (IDWriteFontFaceReference.EnqueueCharacterDownloadRequest) |
IDWriteFontFaceReference::EnqueueFileFragmentDownloadRequest Adds a request to the font download queue (IDWriteFontDownloadQueue). (IDWriteFontFaceReference.EnqueueFileFragmentDownloadRequest) |
IDWriteFontFaceReference::EnqueueFontDownloadRequest Adds a request to the font download queue (IDWriteFontDownloadQueue). (IDWriteFontFaceReference.EnqueueFontDownloadRequest) |
IDWriteFontFaceReference::EnqueueGlyphDownloadRequest Adds a request to the font download queue (IDWriteFontDownloadQueue). (IDWriteFontFaceReference.EnqueueGlyphDownloadRequest) |
IDWriteFontFaceReference::GetFileSize Get the total size of the font face in bytes. |
IDWriteFontFaceReference::GetFileTime Get the last modified date. |
IDWriteFontFaceReference::GetFontFaceIndex Obtains the zero-based index of the font face in its font file or files. If the font files contain a single face, the return value is zero. |
IDWriteFontFaceReference::GetFontFile Obtains the font file representing a font face. |
IDWriteFontFaceReference::GetLocalFileSize Get the local size of the font face in bytes, which will always be less than or equal to GetFullSize. If the locality is remote, this value is zero. If full, this value will equal GetFileSize. |
IDWriteFontFaceReference::GetLocality Get the locality of this font face reference. |
IDWriteFontFaceReference::GetSimulations Obtains the algorithmic style simulation flags of a font face. (IDWriteFontFaceReference.GetSimulations) |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2016 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | dwrite_3.h |