ShowText(ReadOnlySpan, ReadOnlySpan) Method

Definition

Assembly Broadside.dll

Shows text with an explicit adjustment after each character (TJ): positive moves the next glyph left (closer), negative right.

public void ShowText(ReadOnlySpan<char> text, ReadOnlySpan<double> adjustments)

Parameters

text
ReadOnlySpan<Char>

The text; every character shall have a code in the font.

adjustments
ReadOnlySpan<Double>

One number per Unicode scalar value of text, in thousandths of the font size, subtracted from the position after that character's glyph; 0 for none.

Remarks

ISO 32000-2 §9.4.3, Table 107 (TJ), and §9.4.4: tx = (w0 − Tj/1000) × Tfs + Tc + Tw, times the horizontal scaling.