Skip to main content

Module model

Module model 

Source

Structs§

BBox
A font or glyph bounding box, with ordinary f32 precision limits.
CharacterMetric
One character record; missing advances stay absent until resolved against the font.
Composite
A CC construction recipe; it does not synthesize outlines or character metrics.
CompositeComponent
One PCC component in a composite definition.
DirectionMetrics
Authored metrics for one writing direction. Shared blocks populate both entries.
FontMetrics
Parsed AFM metric data. Optional authored fields retain absence; accessors resolve defaults.
KerningPair
A complete pair adjustment in one writing direction.
Ligature
One L successor ligature rule. Every rule on a character is retained in order.
SourceRecord
Comment or uninterpreted extension data, ordered by appearance in the source.
TrackKern
One track-kerning curve, retained as its degree and endpoint values.
Vector
A point or displacement in AFM units (1/1000 of the font scale).

Enums§

CharacterCode
An encoded character number; hexadecimal digits are retained without angle brackets. These values are encoding-specific and are not Unicode scalar values.
Direction
AFM writing direction, independent of the sign or axis of an advance vector.
KerningOperands
Pair operands retain the distinction between glyph names and encoded hexadecimal values.
MetricsSets
MetricsSets or StartDirection selector; 2 applies to both directions.
RecordContext
Location of a comment or unrecognized record within the parsed AFM structure.

Type Aliases§

OwnedFontMetrics
Fully owned AFM data that can outlive the original input.