IDWriteGdiInterop1::GetFontSignature(IDWriteFont*,FONTSIGNATURE*) method (dwrite_3.h)
Reads the font signature from the given font.
Syntax
HRESULT GetFontSignature(
IDWriteFont *font,
FONTSIGNATURE *fontSignature
);
Parameters
font
Type: IDWriteFont*
Font to read font signature from.
fontSignature
Type: [out] FONTSIGNATURE*
Font signature from the OS/2 table, ulUnicodeRange, and ulCodePageRange.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dwrite_3.h |
Library | Dwrite.lib |
DLL | Dwrite.dll |