Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDWriteTextAnalyzer2::GetTypographicFeatures method

Returns a complete list of OpenType features available for a script or font. If a feature is partially supported, then this method indicates that it is supported.

Syntax


virtual HRESULT GetTypographicFeatures(
                       IDWriteFontFace         *fontFace,
                       DWRITE_SCRIPT_ANALYSIS  scriptAnalysis,
  [in, optional] const WCHAR                   *localeName,
                       UINT32                  maxTagCount,
  [out]                UINT32                  *actualTagCount,
  [out]                DWRITE_FONT_FEATURE_TAG *tags
) = 0;

Parameters

fontFace

Type: IDWriteFontFace*

The font face to get features from.

scriptAnalysis

Type: DWRITE_SCRIPT_ANALYSIS

The script analysis for the script or font to check.

localeName [in, optional]

Type: const WCHAR*

The locale name to check.

maxTagCount

Type: UINT32

The maximum number of tags to return.

actualTagCount [out]

Type: UINT32*

The actual number of tags returned.

tags [out]

Type: DWRITE_FONT_FEATURE_TAG*

An array of OpenType font feature tags.

Return value

Type: HRESULT

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

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteTextAnalyzer2

 

 

Show:
© 2017 Microsoft