Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alacritty/crossfont
Cross platform native font loading and rasterization library for Rust
https://github.com/alacritty/crossfont
bsd font linux macos rust windows
Last synced: 7 days ago
JSON representation
Cross platform native font loading and rasterization library for Rust
- Host: GitHub
- URL: https://github.com/alacritty/crossfont
- Owner: alacritty
- License: apache-2.0
- Created: 2020-07-18T00:14:42.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-14T06:44:23.000Z (21 days ago)
- Last Synced: 2025-01-21T09:05:48.669Z (14 days ago)
- Topics: bsd, font, linux, macos, rust, windows
- Language: Rust
- Homepage:
- Size: 94.7 KB
- Stars: 73
- Watchers: 7
- Forks: 33
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
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](https://github.com/alacritty/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.