IDWriteRemoteFontFileLoader interface (dwrite_3.h)

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.

Inheritance

The IDWriteRemoteFontFileLoader interface inherits from IDWriteFontFileLoader. IDWriteRemoteFontFileLoader also has these types of members:

Methods

The IDWriteRemoteFontFileLoader interface has these methods.

 
IDWriteRemoteFontFileLoader::CreateFontFileReferenceFromUrl

Creates a font file reference from a URL if the loader supports this capability.
IDWriteRemoteFontFileLoader::CreateRemoteStreamFromKey

Creates a remote font file stream object that encapsulates an open file resource and can be used to download remote file data.
IDWriteRemoteFontFileLoader::GetLocalityFromKey

Gets the locality of the file resource identified by the unique key.

Requirements

Requirement Value
Target Platform Windows
Header dwrite_3.h

See also

Creating a custom font set using known, remote fonts on the Web

IDWriteFontFileLoader