-
Home
-
API
-
Broadside.Fonts
-
ShapedText
-
Methods
-
MeasureWidth(Double)
MeasureWidth(Double) Method
Definition
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.
ISO 32000-2 §9.4.4 with Tc = Tw = 0 and Th = 1.