Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The UnpackFontFile method unpacks font data from a container file (WOFF or WOFF2) and returns the unpacked font data in the form of a font file stream.
Syntax
HRESULT UnpackFontFile(
DWRITE_CONTAINER_TYPE containerType,
[in] void const *fileData,
UINT32 fileDataSize,
[out] IDWriteFontFileStream **unpackedFontStream
);
Parameters
containerType
Type: DWRITE_CONTAINER_TYPE
Container type returned by AnalyzeContainerType.
[in] fileData
Type: void
Pointer to the compressed data.
fileDataSize
Type: UINT32
Size of the compressed data, in bytes.
[out] unpackedFontStream
Type: IDWriteFontFileStream**
Receives a pointer to a newly created font file stream containing the uncompressed data.
Return value
Type: HRESULT
Standard HRESULT error code. The return value is E_INVALIDARG if the container type is DWRITE_CONTAINER_TYPE_UNKNOWN.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 Build 15063 |
| Minimum supported server | Windows 10 Build 15063 |
| Target Platform | Windows |
| Header | dwrite_3.h |
| Library | Dwrite.lib |