IDWriteFontFile interface

Represents a font file. Applications such as font managers or font viewers can call IDWriteFontFile::Analyze to find out if a particular file is a font file, and whether it is a font type that is supported by the font system.

Methods

The IDWriteFontFile interface has these methods.

Method Description
IDWriteFontFile::Analyze Analyzes a file and returns whether it represents a font, and whether the font type is supported by the font system.
IDWriteFontFile::GetLoader Obtains the file loader associated with a font file object.
IDWriteFontFile::GetReferenceKey Obtains the pointer to the reference key of a font file. The returned pointer is valid until the font file object is released.

Requirements

   
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