Expand description
Per-glyph metrics.
Structs§
- Extents
Sources 🔒 - The sources available in a font, in the order they are tried.
- Glyph
Extents - Where a glyph’s ink sits, relative to its origin.
- Glyph
Metrics - Measurements of individual glyphs at one location.
Enums§
- Extents
Source 🔒 - A table that can measure a glyph’s ink.
Constants§
- MAX_
EXTENTS_ 🔒SOURCES - The most entries
ExtentsSourcesholds.
Functions§
- control_
box 🔒 - The box a loaded outline’s points stay within.
- empty 🔒
- Returns the metrics of a font that states none.
- exact_
extents 🔒 - Widens floating-point extents to the fixed-point type the metrics report.
- extents_
from_ 🔒bounds - Turns a charstring’s box into a bearing and a size.
- extents_
from_ 🔒corners - Turns the corners of a box into a bearing and a size.
- glyf_
v_ 🔒origin_ from_ context - The loaded top phantom point, retaining fractional gvar deltas.
- varied_
control_ 🔒box - The box a glyph’s points stay within, at the location
tablesstates.