IDWriteFontFaceReference::GetLocality method (dwrite_3.h)

Get the locality of this font face reference.

Syntax

DWRITE_LOCALITY GetLocality();

Return value

Type: DWRITE_LOCALITY

Returns the locality of this font face reference.

Remarks

You can always successfully
create a font face from a fully local font. Attempting to create a font
face on a remote or partially local font may fail with DWRITE_E_REMOTEFONT.
This function may change between calls depending on background downloads
and whether cached data expires.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFontFaceReference