embedded-vintage-fonts

Crates.ioembedded-vintage-fonts
lib.rsembedded-vintage-fonts
version0.2.0
sourcesrc
created_at2022-01-08 11:39:27.645655
updated_at2023-05-24 21:01:26.603803
descriptionVintage fonts from embedded-graphics 0.6 back release 0.7
homepage
repositoryhttps://github.com/sirhcel/embedded-vintage-fonts
max_upload_size
id510179
size121,658
Christian Meusel (sirhcel)

documentation

https://docs.rs/embedded-vintage-fonts

README

Embedded Vintage Fonts

Your dearly beloved fonts from embedded-graphics 0.6 back for the overhauled font handling of 0.7 and above.

They are back all but one: Font6x6 uses variable-width glyphs which are currently not supported by 0.7 and above.

Build Status crates.io Documentation

Specimens

FONT_6X8 formerly known as Font6x8

FONT_6X6

FONT_6X12 formerly known as Font6x12

FONT_6X12

FONT_8X16 formerly known as Font6x16

FONT_8X16

FONT_12X16 formerly known as Font12x16

FONT_12X16

FONT_24X32 formerly known as Font24x32

An upscaled version of FONT_12X16.

Examples

Have a look at the fonts with an adapted variant of ProFont's font debugger using the embedded-graphics simulator:

$ cargo run --example debugger

One can activate strikethrough and underline style with the command line options --strikethrough and --underline. For example to enable both at the same time via Cargo:

$ cargo run --example debugger -- --strikethrough --underline

License

Licensed under either of

at your discretion.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 26

cargo fmt