Crates.io | fontloader |
lib.rs | fontloader |
version | 0.1.0-alpha.0 |
source | src |
created_at | 2022-06-21 09:55:24.915515 |
updated_at | 2022-06-21 09:55:24.915515 |
description | Cross platform native font loader |
homepage | |
repository | https://github.com/songww/fontloader.git |
max_upload_size | |
id | 610129 |
size | 120,740 |
crossfont is a cross-platform Rust library for loading fonts and rasterizing glyphs, using native font engines whenever possible.
Platform | Backends |
---|---|
Linux | Freetype |
BSD | Freetype |
Windows | DirectWrite |
macOS | Core Text |
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.