Click or drag to resize
CanvasTextAnalyzerAddGlyphsAfterJustification Method (CanvasFontFace, Single, CanvasAnalyzedScript, Int32, CanvasGlyph, CanvasGlyph, CanvasGlyphShaping)
Fills in new glyphs for scripts where justification increased the advances of glyphs.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasGlyph[] AddGlyphsAfterJustification(
	CanvasFontFace fontFace,
	float fontSize,
	CanvasAnalyzedScript script,
	int[] clusterMapIndicesElements,
	CanvasGlyph[] originalGlyphsElements,
	CanvasGlyph[] justifiedGlyphsElements,
	CanvasGlyphShaping[] glyphShapingResultsElements
)

Parameters

fontFace
Type: Microsoft.Graphics.Canvas.TextCanvasFontFace
fontSize
Type: SystemSingle
script
Type: Microsoft.Graphics.Canvas.TextCanvasAnalyzedScript
clusterMapIndicesElements
Type: SystemInt32
originalGlyphsElements
Type: Microsoft.Graphics.Canvas.TextCanvasGlyph
justifiedGlyphsElements
Type: Microsoft.Graphics.Canvas.TextCanvasGlyph
glyphShapingResultsElements
Type: Microsoft.Graphics.Canvas.TextCanvasGlyphShaping

Return Value

Type: CanvasGlyph
Remarks

This is used when inserting Arabic kashida.

To determine whether a script may add justification characters, call GetScriptProperties(CanvasAnalyzedScript) after analyzing the text's script, and check whether JustificationCharacter is non-null.

See Also