Expand description
Embedded 8x16 anti-aliased bitmap font table for zero-dependency software text rasterization.
Structs§
- Font
Fallback Chain - Fallback font resolution chain with per-glyph coverage checking.
- System
Font Resolver - System font fallback cascade resolver across Linux, macOS, and Windows.
Enums§
- Generic
Font Family - Generic CSS font family keyword.
- OsPlatform
- Operating system platform indicator for font resolution.
Constants§
- FONT_
8X16 - Pre-rasterized 8x16 bitmap glyphs for printable ASCII characters 32..=126.
- FONT_
GLYPH_ HEIGHT - FONT_
GLYPH_ WIDTH - TOFU_
GLYPH - Fallback replacement glyph (hollow box / tofu) for unresolved Unicode characters.
Functions§
- get_
glyph - Retrieves the 8x16 bitmask slice for a given printable ASCII character.
- get_
glyph_ or_ fallback - Retrieves a glyph bitmask, resolving common Unicode symbols or falling back to the standard tofu box.
- map_
common_ unicode - Maps common typographical Unicode characters to their visual ASCII approximations.