Expand description
§TitanF
TitanF is a blazingly fast, dependency-free font rasterizer written in pure Rust.
- 🚀 Zero dependencies
- ⚙️
no_stdcompatible (requiresalloc) - 🎨 Subpixel anti-aliasing
- 🦀 Safe, stable Rust (no unsafe)
use titanf::TrueTypeFont;
let font_data = include_bytes!("Roboto-Medium.ttf");
let mut font = TrueTypeFont::load_font(font_data);
let (metrics, bitmap) = font.get_char::<false>('A', 16);§See Also
Re-exports§
pub use crate::font::TrueTypeFont;
Modules§
- cache
- Caching mechanisms
- font
- Font parsing and metrics structures
- rasterizer
- Glyph rasterization and scanline algorithms
- render
- Rendering utilities
- tables
- Font table structures (CMAP, GLYF, etc.)