IDWriteTextAnalyzer1.GetJustificationOpportunities

<summary> Retrieves justification opportunity information for each of the glyphs given the text and shaping glyph properties. </summary> <param name="fontFace">Font face that was used for shaping. This is mainly important for returning correct results of the kashida width.</param> <param name="fontEmSize">Font em size used for the glyph run.</param> <param name="scriptAnalysis">Script of the text from the itemizer.</param> <param name="textLength">Length of the text.</param> <param name="glyphCount">Number of glyphs.</param> <param name="textString">Characters used to produce the glyphs.</param> <param name="clusterMap">Clustermap produced from shaping.</param> <param name="glyphProperties">Glyph properties produced from shaping.</param> <param name="justificationOpportunities">Receives information for the allowed justification expansion/compression for each glyph.</param> <remarks> This function is called per-run, after shaping is done via GetGlyphs(). Note this function only supports natural metrics (DWRITE_MEASURING_MODE_NATURAL). </remarks> <returns> Standard HRESULT error code. </returns>

interface IDWriteTextAnalyzer1
extern (Windows)
HRESULT
GetJustificationOpportunities

Meta