Expand description
XeTeX font spec parsing, the host font loader trait, and OpenType metrics and math access.
Re-exports§
pub use rustybuzz;pub use ttf_parser;
Structs§
- Font
Data - A loaded font face and the key the host chose for it.
- Font
Glyph Metrics - Metrics of one glyph in scaled points.
- FontKey
- Host chosen identity of a loaded font face.
- Font
Metrics - Overall font metrics in scaled points.
- Font
Spec - A parsed XeTeX font spec, the engine shapes with its name, script, language and features only.
- Glyph
Bounds Points - A glyph’s advance and control box in points, y up.
- InMemory
Font Loader - Loads fonts from an in process map keyed by file name.
- Math
Assembly Part - One part of an OpenType math glyph assembly, measurements in scaled points.
- Math
Variant - A larger OpenType math glyph variant.
- Shape
Feature - An OpenType feature setting, such as
ssty=1for math script size variants.
Enums§
- Font
Error - Font loading or parsing failure.
- Math
Kern Corner - Corner of an OpenType
MathKernInforecord, as HarfBuzz’shb_ot_math_kern_t.
Traits§
- Font
Loader - Loads font faces for the engine, the only font trait a host implements.
- Shared
Face - A face the host parsed and owns, the library borrows it and never parses or copies it.