IDWriteFontFaceReference::GetLocality method

Get the locality of this font face reference.

Syntax


DWRITE_LOCALITY GetLocality();

Parameters

This method has no parameters.

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

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Dwrite_3.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteFontFaceReference

 

 

Show: