IDWriteTextAnalyzer2::CheckTypographicFeature method
Checks if a typographic feature is available for a glyph or a set of glyphs.
Syntax
virtual HRESULT CheckTypographicFeature( IDWriteFontFace *fontFace, DWRITE_SCRIPT_ANALYSIS scriptAnalysis, [in, optional] const WCHAR *localeName, DWRITE_FONT_FEATURE_TAG tag, UINT32 glyphCount, [in] const UINT16 *glyphIndices, [out] UINT8 *featureApplies ) = 0;
Parameters
- fontFace
-
The font face to read glyph information from.
- scriptAnalysis
-
The script analysis for the script or font to check.
- localeName [in, optional]
-
The locale name to check.
- tag
-
The font feature tag to check.
- glyphCount
-
The number of glyphs to check.
- glyphIndices [in]
-
An array of glyph indices to check.
- featureApplies [out]
-
An array of integers that indicate whether or not the font feature applies to each glyph specified.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Library |
|
|
DLL |
|
See also