IDWriteTextAnalyzer1.ApplyCharacterSpacing

<summary> Applies spacing between characters, properly adjusting glyph clusters and diacritics. </summary> <param name="leadingSpacing">The spacing before each character, in reading order.</param> <param name="trailingSpacing">The spacing after each character, in reading order.</param> <param name="minimumAdvanceWidth">The minimum advance of each character, to prevent characters from becoming too thin or zero-width. This must be zero or greater.</param> <param name="textLength">The length of the clustermap and original text.</param> <param name="glyphCount">The number of glyphs.</param> <param name="clusterMap">Mapping from character ranges to glyph ranges.</param> <param name="glyphAdvances">The advance width of each glyph.</param> <param name="glyphOffsets">The offset of the origin of each glyph.</param> <param name="glyphProperties">Properties of each glyph, from GetGlyphs.</param> <param name="modifiedGlyphAdvances">The new advance width of each glyph.</param> <param name="modifiedGlyphOffsets">The new offset of the origin of each glyph.</param> <remarks> The input and output advances/offsets are allowed to alias the same array. </remarks> <returns> Standard HRESULT error code. </returns>

interface IDWriteTextAnalyzer1
extern (Windows)
HRESULT
ApplyCharacterSpacing

Meta