4 releases (2 breaking)
|new 0.3.0||May 1, 2021|
|0.2.0||Dec 20, 2020|
|0.1.1||Oct 16, 2020|
|0.1.0||Jul 18, 2020|
#44 in Operating systems
6,316 downloads per month
Used in alacritty
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 Mac OS. FreeType is used on everything that's not Mac OS. Eventually, ClearType support will be available for windows.