Crates.io | orbfont |
lib.rs | orbfont |
version | 0.1.12 |
source | src |
created_at | 2016-05-15 22:43:55.356377 |
updated_at | 2023-03-08 01:56:31.786055 |
description | Orbital font rendering |
homepage | |
repository | https://gitlab.redox-os.org/redox-os/orbfont |
max_upload_size | |
id | 5081 |
size | 28,938 |
Orbital font rendering. Compatible with Redox and SDL2.
To include OrbFont in your project, just add the dependency
line to your Cargo.toml
file:
orbfont = "0.1.8"
To use OrbFont master, just add the dependency
line to your Cargo.toml
file:
orbfont = { git = https://gitlab.redox-os.org/redox-os/orbfont.git }
However you also need to have the SDL2 libraries installed on your system. The best way to do this is documented by the SDL2 crate.
You find the examples in the examples/
directory.
You can start the widgets example by executing the following command:
cargo run --example character_map --release
You can build and run the latest documentation by executing the following command:
cargo doc --no-deps --open