IDWriteTextAnalyzer2.GetTypographicFeatures

<summary> Returns a list of typographic feature tags for the given script and language. </summary> <param name="fontFace">The font face to get features from.</param> <param name="scriptAnalysis">Script analysis result from AnalyzeScript.</param> <param name="localeName">The locale to use when selecting the feature, such en-us or ja-jp.</param> <param name="maxTagCount">Maximum tag count.</param> <param name="actualTagCount">Actual tag count. If greater than maxTagCount, E_NOT_SUFFICIENT_BUFFER is returned, and the call should be retried with a larger buffer.</param> <param name="tags">Feature tag list.</param> <returns> Standard HRESULT error code. </returns>

interface IDWriteTextAnalyzer2
HRESULT
GetTypographicFeatures
(
IDWriteFontFace fontFace
,
DWRITE_SCRIPT_ANALYSIS scriptAnalysis
,
const(WCHAR)* localeName
,,,
DWRITE_FONT_FEATURE_TAG* tags
)

Meta