Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.