Expand description
Metrics for a font and its glyphs.
Structs§
- Decoration
- The position and thickness of an underline or strikethrough.
- Glyph
Extents - Where a glyph’s ink sits, relative to its origin.
- Glyph
Metrics - Measurements of individual glyphs at one location.
- LineBox
- Ascender, descender and line gap from one table.
- Line
Extents - The two ends of a line, in whatever unit a caller uses.
- Metrics
- Font-wide metrics.
- Scale26
Dot6 - Scales design-unit metrics to 26.6 pixels with 16.16 fixed-point arithmetic.
- Scale
F32 - Scales font units to
f32pixels. - Scaled
Glyph Metrics - Measurements of individual glyphs, in a caller’s own units.
- Scaled
Metrics - Measurements of a font as a whole, in a caller’s own units.
- Scaled
Style Metrics - Style measurements in a caller’s own units.
- Script
Metrics - The size and placement of a subscript or superscript em box.
- Style
Metrics - Font-wide style measurements from
OS/2andpost, or Type 1 font info.
Traits§
- Scale
- Converts a measurement in font units into a caller’s own units.