|new 0.5.2||Nov 24, 2023|
|0.5.1||Oct 24, 2022|
|0.5.0||Jul 9, 2022|
|0.3.2||Dec 11, 2021|
|0.1.0||Jul 18, 2020|
#131 in GUI
25,889 downloads per month
Used in 5 crates (2 directly)
crossfont is a cross-platform Rust library for loading fonts and rasterizing glyphs, using native font engines whenever possible.
Since crossfont was originally made solely for rendering monospace fonts in Alacritty, there currently is only very limited support for proportional fonts.
Loading a lot of different fonts might also lead to resource leakage since they are not explicitly dropped from the cache.
Compatibility layer for different font engines.
CoreText is used on macOS. DirectWrite is used on Windows. FreeType is used everywhere else.