Modules§
Structs§
- Cache
Key - Cache key for the renderer’s glyph slug cache -> uniquely identifies a specific glyph in a specific font face. Cache key for the renderer’s glyph slug cache -> uniquely identifies a specific glyph in a specific font face at a specific variation instance.
- Glyph
Bitmap - Glyph
Key - Shape
Options - Shaped
Glyph - Shaped
Run - Shaped
Text - Shared
Shaped Text - Text
Metrics
Enums§
- Command
- Vector path command for glyph outlines.
- Font
Synthesis - Shape
Capability Error - Swash
Content - Content of a scaled glyph image.
- Text
Direction
Statics§
Functions§
- begin_
frame - canonical_
variation - Canonicalize font-variation settings into an axis-sorted, deduplicated
key. Axis order in the source string must not change the key, and a
repeated axis resolves to its last value (matching shaping and
skrifa). - current_
frame - ellipsize_
line - ellipsize_
line_ with_ family - ellipsize_
line_ with_ style - ensure_
web_ fallback_ initialized - extract_
outline_ commands - extract_
outline_ commands_ for - extract_
outline_ commands_ shared - font_
family_ name - Extract the family name from raw font bytes.
- font_
generation - load_
font_ file - Load a font from a file path and register it into the global font system.
- lookup_
and_ extract_ outline - Outline for a legacy
GlyphKeyhandle, at the font’s default variation instance (seelookup_cache_key). - lookup_
cache_ key CacheKeyfor a legacyGlyphKeyhandle.- metrics_
for_ textfield - metrics_
for_ textfield_ shared - primary_
font_ vertical_ metrics - Vertical font metrics
(ascent, descent)in px for the primary font matching(font_family, font_weight). - raster_
placement - rasterize
- Rasterize through the legacy
GlyphKeyhandle. - rasterize_
cache_ key - register_
font_ data - shape_
line - shape_
line_ cached - shape_
line_ shared - shape_
line_ vector - shape_
line_ with_ options - shape_
line_ with_ options_ cached - shape_
line_ with_ options_ vector - shape_
text_ with_ options - shape_
text_ with_ options_ cached - shape_
text_ with_ options_ shared - shape_
text_ with_ options_ vector - take_
fallback_ dirty - wrap_
line_ ranges - wrap_
line_ ranges_ with_ family - wrap_
line_ ranges_ with_ style - wrap_
lines - wrap_
lines_ with_ family - wrap_
lines_ with_ style