IDWriteFontFileLoader Interface
Handles loading font file resources of a particular type from a font file reference key into a font file stream object.
Mitglieder
IDWriteFontFileLoaderSchnittstelle erbt von der IUnknown-Schnittstelle. IDWriteFontFileLoader umfasst auch die folgenden Typen von Mitgliedern:
- Methoden
Methoden
IDWriteFontFileLoaderSchnittstelle umfasst die folgenden Methoden.
Methode | Beschreibung |
---|---|
CreateStreamFromKey | Creates a font file stream object that encapsulates an open file resource. |
Hinweise
The font file loader interface is recommended to be implemented by a singleton object. Note that font file 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 |