IDWriteFontFile interface (dwrite.h)

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.

Inheritance

The IDWriteFontFile interface inherits from the IUnknown interface. IDWriteFontFile also has these types of members:

Methods

The IDWriteFontFile interface has these methods.

 
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