Table of Contents

Struct GlyphDesignMetrics

Namespace
KernSmith.Font.Models
Assembly
KernSmith.dll

Per-glyph horizontal metrics in unscaled font design units (the same space as UnitsPerEm and Ascender).

public readonly record struct GlyphDesignMetrics : IEquatable<GlyphDesignMetrics>
Implements
Inherited Members

Constructors

GlyphDesignMetrics(int, int)

Per-glyph horizontal metrics in unscaled font design units (the same space as UnitsPerEm and Ascender).

public GlyphDesignMetrics(int AdvanceWidth, int LeftSideBearing)

Parameters

AdvanceWidth int

Horizontal advance to the next glyph, in font design units.

LeftSideBearing int

Distance from the glyph origin to the left edge of the glyph's bounding box, in font design units.

Properties

AdvanceWidth

Horizontal advance to the next glyph, in font design units.

public int AdvanceWidth { get; init; }

Property Value

int

LeftSideBearing

Distance from the glyph origin to the left edge of the glyph's bounding box, in font design units.

public int LeftSideBearing { get; init; }

Property Value

int