Used to construct a collection of fonts given a particular type of key.
The IDWriteFontCollectionLoader interface has these methods.
|IDWriteFontCollectionLoader::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.|
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.
|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]|