RetroArch
Public Attributes | List of all members
DWRITE_FONT_PROPERTY Struct Reference

Font property used for filtering font sets and building a font set with explicit properties. More...

#include <dwrite_3.h>

Public Attributes

DWRITE_FONT_PROPERTY_ID propertyId
 Specifies the requested font property, such as DWRITE_FONT_PROPERTY_ID_FAMILY_NAME. More...
 
_Field_z_ WCHAR constpropertyValue
 Specifies the property value, such as "Segoe UI". More...
 
_Field_z_ _Maybenull_ WCHAR constlocaleName
 Specifies the language / locale to use, such as "en-US". More...
 

Detailed Description

Font property used for filtering font sets and building a font set with explicit properties.

Member Data Documentation

◆ localeName

_Field_z_ _Maybenull_ WCHAR const* DWRITE_FONT_PROPERTY::localeName

Specifies the language / locale to use, such as "en-US".

When passing property information to AddFontFaceReference, localeName indicates the language of the property value. BCP 47 language tags should be used. If a property value is inherently non-linguistic, this can be left empty.

When used for font set filtering, leave this empty: a match will be found regardless of language associated with property values.

◆ propertyId

DWRITE_FONT_PROPERTY_ID DWRITE_FONT_PROPERTY::propertyId

Specifies the requested font property, such as DWRITE_FONT_PROPERTY_ID_FAMILY_NAME.

◆ propertyValue

_Field_z_ WCHAR const* DWRITE_FONT_PROPERTY::propertyValue

Specifies the property value, such as "Segoe UI".


The documentation for this struct was generated from the following file: