TiTanFont
Fast TrueType font rasterizer in pure Rust
🦀 Pure Rust • 📦 Zero Dependencies • ⚙️ no_std
Quick Start
use TrueTypeFont;
Add to your Cargo.toml:
[]
= "x.x.0"
Features
- 🚀 Fast — Up to 100,000 glyphs/second at 16px
- 🦀 Zero Dependencies — Pure Rust, no external crates
- 📦
no_std— Works in bare-metal environments (requiresalloc) - 💯 Stable Rust — No nightly features, no unsafe code
- 🔧 Built-in Parser — Handles TrueType tables:
cmap,glyf,head,hhea,hmtx,kern,loca,maxp
Benchmarks
All benchmarks run on the same hardware with consistent methodology:
- Identical parameters across rasterizers
- Results wrapped in
black_box()to prevent optimization - Multiple runs averaged for consistency
- No caching enabled
Run benchmarks yourself:
License
Licensed under the MIT License.
Contributing
Contributions are welcome! Open an issue or PR on GitHub.