IDWriteInMemoryFontFileLoader interface (dwrite_3.h)
Represents a font file loader that can access in-memory fonts. The IDWriteFactory5::CreateInMemoryFontFileLoader method returns an instance of this interface, which the client can use to load in-memory fonts without having to implement a custom loader. A client can also create its own custom implementation, however. In either case, the client is responsible for registering and unregistering the loader using IDWriteFactory::RegisterFontFileLoader and IDWriteFactory::UnregisterFontFileLoader.
Inheritance
The IDWriteInMemoryFontFileLoader interface inherits from IDWriteFontFileLoader. IDWriteInMemoryFontFileLoader also has these types of members:
Methods
The IDWriteInMemoryFontFileLoader interface has these methods.
IDWriteInMemoryFontFileLoader::CreateInMemoryFontFileReference Creates a font file reference (IDWriteFontFile object) from an array of bytes. |
IDWriteInMemoryFontFileLoader::GetFileCount Returns the number of font file references that have been created using this loader instance. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dwrite_3.h |
See also
Creating a custom font set using font data loaded into memory