IDWriteFactory5::AnalyzeContainerType method
The AnalyzeContainerType method analyzes the specified file data to determine whether it is a known font container format (e.g., WOFF or WOFF2).
Syntax
DWRITE_CONTAINER_TYPE AnalyzeContainerType( [in] void fileData, UINT32 fileDataSize );
Parameters
- fileData [in]
-
Type: void
Pointer to the file data to analyze.
- fileDataSize
-
Type: UINT32
Size of the buffer passed in fileData.
Return value
Type: DWRITE_CONTAINER_TYPE
Returns the container type if recognized. DWRITE_CONTAINER_TYPE_UNKOWNN is returned for all other files, including uncompressed font files.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also
Show: