Table of Contents

Interface IMetricsHeader

Namespace
SixLabors.Fonts
Assembly
SixLabors.Fonts.dll

Defines the contract for the metrics header of a font face.

public interface IMetricsHeader

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.

short AdvanceHeightMax { get; }

Property Value

short

AdvanceWidthMax

Gets the maximum advance width, in font units, for all glyphs in this face.

short AdvanceWidthMax { get; }

Property Value

short

Ascender

Gets the typographic ascender of the face, expressed in font units.

short Ascender { get; }

Property Value

short

Descender

Gets the typographic descender of the face, expressed in font units.

short Descender { get; }

Property Value

short

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.

short LineGap { get; }

Property Value

short

LineHeight

Gets the typographic line spacing of the face, expressed in font units.

short LineHeight { get; }

Property Value

short