crossfont

Crates.iocrossfont
lib.rscrossfont
version0.9.0
created_at2020-07-18 00:50:54.737659+00
updated_at2025-06-09 16:21:46.370736+00
descriptionCross platform native font loading and rasterization
homepage
repositoryhttps://github.com/alacritty/crossfont.git
max_upload_size
id266436
size132,291
Publishers (github:alacritty:publishers)

documentation

https://docs.rs/crossfont

README

crossfont

crossfont is a cross-platform Rust library for loading fonts and rasterizing glyphs, using native font engines whenever possible.

Supported Backends

Platform Backends
Linux Freetype
BSD Freetype
Windows DirectWrite
macOS Core Text

Known Issues

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.

Commit count: 55

cargo fmt