Skip to main content

Module font

Module font 

Source
Expand description

Font loading, resolution, shaping, and metrics.

Uses fontdb for system font discovery, ttf-parser for metrics, and HarfRust for text shaping.

Structsยง

FontFile
Font data provided by the user or extracted from an OOXML file.
FontManager
Manages font discovery, loading, shaping, and metrics.
FontMetrics
Metrics for a font at a given size.
ShapedText
Result of shaping a text string.