fontloader

Crates.iofontloader
lib.rsfontloader
version0.1.0-alpha.0
sourcesrc
created_at2022-06-21 09:55:24.915515
updated_at2022-06-21 09:55:24.915515
descriptionCross platform native font loader
homepage
repositoryhttps://github.com/songww/fontloader.git
max_upload_size
id610129
size120,740
songww (songww)

documentation

https://docs.rs/fontloader

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: 35

cargo fmt