Freigeben über


IDWriteFontCollectionLoader Interface

Used to construct a collection of fonts given a particular type of key.

Mitglieder

IDWriteFontCollectionLoaderSchnittstelle erbt von der IUnknown-Schnittstelle. IDWriteFontCollectionLoader umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

IDWriteFontCollectionLoaderSchnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
CreateEnumeratorFromKey

Creates a font file enumerator object that encapsulates a collection of font files. The font system calls back to this interface to create a font collection.

 

Hinweise

The font collection loader interface is recommended to be implemented by a singleton object. Note that font collection loader implementations must not register themselves with DirectWrite factory inside their constructors and must not unregister themselves in their destructors, because registration and unregistraton operations increment and decrement the object reference count respectively. Instead, registration and unregistration of font file loaders with DirectWrite factory should be performed outside of the font file loader implementation as a separate step.

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Bibliothek

Dwrite.lib

DLL

Dwrite.dll