Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wezm/profont
ProFont for the embedded-graphics crate
https://github.com/wezm/profont
embedded font graphics rust
Last synced: 3 months ago
JSON representation
ProFont for the embedded-graphics crate
- Host: GitHub
- URL: https://github.com/wezm/profont
- Owner: wezm
- License: mit
- Created: 2018-11-17T22:22:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-31T03:46:35.000Z (over 1 year ago)
- Last Synced: 2024-10-11T17:43:26.195Z (4 months ago)
- Topics: embedded, font, graphics, rust
- Language: Rust
- Homepage:
- Size: 494 KB
- Stars: 49
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ProFont
[The ProFont monospace font][profont] for use with the [embedded-graphics] crate.
[![Build Status](https://api.cirrus-ci.com/github/wezm/profont.svg)](https://cirrus-ci.com/github/wezm/profont)
[![crates.io](https://img.shields.io/crates/v/profont.svg)](https://crates.io/crates/profont)
[![Documentation](https://docs.rs/profont/badge.svg)][crate-docs]`profont` is licensed under the [MIT license][MIT].
## Specimens
ProFont is available in 7 sizes:
### 7 Point
![7 Point ProFont](https://raw.githubusercontent.com/wezm/profont/master/tools/data/ProFont7Point.png)
### 9 Point
![9 Point ProFont](https://raw.githubusercontent.com/wezm/profont/master/tools/data/ProFont9Point.png)
### 10 Point
![10 Point ProFont](https://raw.githubusercontent.com/wezm/profont/master/tools/data/ProFont10Point.png)
### 12 Point
![12 Point ProFont](https://raw.githubusercontent.com/wezm/profont/master/tools/data/ProFont12Point.png)
### 14 Point
![14 Point ProFont](https://raw.githubusercontent.com/wezm/profont/master/tools/data/ProFont14Point.png)
### 18 Point
![18 Point ProFont](https://raw.githubusercontent.com/wezm/profont/master/tools/data/ProFont18Point.png)
### 24 Point
![24 Point ProFont](https://raw.githubusercontent.com/wezm/profont/master/tools/data/ProFont24Point.png)
## Examples
There are some examples that use the `embedded-graphics` simulator. Run these as follows:
cargo run debugger
cargo run mock-display
cargo run hello## Data Files
The binary of the crate is used to generate the data files from a source font.
They can be regenerated with:bmake -C tools/data pngs all
[embedded-graphics]: https://github.com/embedded-graphics/embedded-graphics
[profont]: https://tobiasjung.name/profont/
[MIT]: https://github.com/wezm/profont/blob/master/LICENSE
[crate-docs]: https://docs.rs/profont