MeasureWidth(Double) Method

Definition

Namespace Broadside.Fonts
Assembly Broadside.dll

Measures the advance of the shaped text at fontSize.

public double MeasureWidth(double fontSize)

Parameters

fontSize
Double

The font size (Tf's size operand).

Returns

Double
The sum of the glyph advances in unscaled text space units, without character spacing, word spacing or horizontal scaling.

Remarks

ISO 32000-2 §9.4.4 with Tc = Tw = 0 and Th = 1.