IDWriteTextAnalyzer1 interface

Analyzes various text properties for complex script processing.

Members

The IDWriteTextAnalyzer1 interface inherits from IDWriteTextAnalyzer. IDWriteTextAnalyzer1 also has these types of members:

Methods

The IDWriteTextAnalyzer1 interface has these methods.

MethodDescription
AnalyzeVerticalGlyphOrientation

Analyzes a text range for script orientation, reading text and attributes from the source and reporting results to the sink callback SetGlyphOrientation.

ApplyCharacterSpacing

Applies spacing between characters, properly adjusting glyph clusters and diacritics.

GetBaseline

Retrieves the given baseline from the font.

GetGlyphOrientationTransform

Returns 2x3 transform matrix for the respective angle to draw the glyph run.

GetJustificationOpportunities

Retrieves justification opportunity information for each of the glyphs given the text and shaping glyph properties.

GetJustifiedGlyphs

Fills in new glyphs for complex scripts where justification increased the advances of glyphs, such as Arabic with kashida.

GetScriptProperties

Retrieves the properties for a given script.

GetTextComplexity

Determines the complexity of text, and whether you need to call IDWriteTextAnalyzer::GetGlyphs for full script shaping.

JustifyGlyphAdvances

Justifies an array of glyph advances to fit the line width.

 

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_1.h

Library

Dwrite.lib

DLL

Dwrite.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft