IDWriteRemoteFontFileLoader interface
Represents a font file loader that can access remote (i.e., downloadable) fonts. The IDWriteFactory5::CreateHttpFontFileLoader method returns an instance of this interface, which the client can use to load remote 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.
Members
The IDWriteRemoteFontFileLoader interface inherits from IDWriteFontFileLoader. IDWriteRemoteFontFileLoader also has these types of members:
Methods
The IDWriteRemoteFontFileLoader interface has these methods.
| Method | Description |
|---|---|
| CreateFontFileReferenceFromUrl |
Creates a font file reference from a URL if the loader supports this capability. |
| CreateRemoteStreamFromKey |
Creates a remote font file stream object that encapsulates an open file resource and can be used to download remote file data. |
| GetLocalityFromKey |
Gets the locality of the file resource identified by the unique key. |
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also