IDWriteGdiInterop1::GetFontSignature(IDWriteFontFace*,FONTSIGNATURE*) method (dwrite_3.h)

Reads the font signature from the given font.

Syntax

HRESULT GetFontSignature(
  IDWriteFontFace *fontFace,
  FONTSIGNATURE   *fontSignature
);

Parameters

fontFace

Type: [in] 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

See also

IDWriteGdiInterop1