Class HorizontalMetrics
Represent the metrics of a font face specific to horizontal text.
public class HorizontalMetrics : IMetricsHeader
- Inheritance
-
HorizontalMetrics
- Implements
- Inherited Members
Properties
AdvanceHeightMax
Gets the maximum advance height, in font units, for all glyphs in this face.This is only relevant for vertical layouts, and is set to LineHeight for fonts that do not provide vertical metrics.
public short AdvanceHeightMax { get; }
Property Value
AdvanceWidthMax
Gets the maximum advance width, in font units, for all glyphs in this face.
public short AdvanceWidthMax { get; }
Property Value
Ascender
Gets the typographic ascender of the face, expressed in font units.
public short Ascender { get; }
Property Value
Descender
Gets the typographic descender of the face, expressed in font units.
public short Descender { get; }
Property Value
LineGap
Gets the typographic line gap of the face, expressed in font units. This field should be combined with the Ascender and Descender values to determine default line spacing.
public short LineGap { get; }
Property Value
LineHeight
Gets the typographic line spacing of the face, expressed in font units.
public short LineHeight { get; }