Expand description
Font loading, shaping, metrics, and OpenType math access for mathtex.
Re-exports§
pub use rustybuzz;pub use ttf_parser;
Structs§
- Composed
Font System - Font system assembled from independent loading and shaping services.
- Font
Data - Loaded font identity plus its face source.
- Font
Glyph Metrics - Metrics for a single glyph in TeX scaled point units.
- Font
Metrics - Overall font metrics in TeX scaled point units.
- Font
Query - Font lookup request.
- InMemory
Font System - Font system backed by an in process font map, for embedded and browser environments.
- Math
Assembly Part - One part of an OpenType math glyph assembly, with all measurements in scaled points.
- NoFont
System - Deterministic empty font system.
- Rustybuzz
Font System - Font system backed by
ttf-parserandrustybuzz, with font bytes cached byFontId. - Shape
Feature - OpenType feature request (tag + value), e.g.
ssty=1for math script size substitution. - Shape
Request - Text shaping request.
- Shaped
Text - Shaped text result.
Enums§
- Font
Error - Font system failure.
- Math
Kern Corner - Corner of an OpenType
MathKernInforecord (mirrors HarfBuzzhb_ot_math_kern_t).
Traits§
- Font
Loader - Font loading half of a font system.
- Font
System - Font loading and shaping boundary used by engine profiles.
- Shared
Face - Face the application parsed and owns; the library borrows it and never parses or copies.
- Text
Shaper - Text shaping half of a font system, decoupled from any concrete shaper crate.