Skip to content

redox-os/orbfont

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrbFont

Orbital font rendering. Compatible with Redox and SDL2.

Build status MIT licensed crates.io docs.rs

Usage

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.

Examples

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

Build and run documenation

You can build and run the latest documentation by executing the following command:

cargo doc --no-deps --open