IDWriteTextAnalyzer2.CheckTypographicFeature

<summary> Returns an array of which glyphs are affected by a given feature. </summary> <param name="fontFace">The font face to read glyph information 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="featureTag">OpenType feature name to use, which may be one of the DWRITE_FONT_FEATURE_TAG values or a custom feature using DWRITE_MAKE_OPENTYPE_TAG.</param> <param name="glyphCount">Number of glyph indices to check.</param> <param name="glyphIndices">Glyph indices to check for feature application.</param> <param name="featureApplies">Output of which glyphs are affected by the feature, where for each glyph affected, the respective array index will be 1. The result is returned per-glyph without regard to neighboring context of adjacent glyphs.</param> </remarks> <returns> Standard HRESULT error code. </returns>

interface IDWriteTextAnalyzer2
HRESULT
CheckTypographicFeature
(
IDWriteFontFace fontFace
,
DWRITE_SCRIPT_ANALYSIS scriptAnalysis
,
const(WCHAR)* localeName
,
DWRITE_FONT_FEATURE_TAG featureTag
,
UINT32 glyphCount
,
const(UINT16)* glyphIndices
,
)

Meta