2 unstable releases
0.2.0 | May 24, 2023 |
---|---|
0.1.0 | Jan 8, 2022 |
#334 in Rendering
40KB
54 lines
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.
Specimens
FONT_6X8
formerly known as Font6x8
FONT_6X12
formerly known as Font6x12
FONT_8X16
formerly known as Font6x16
FONT_12X16
formerly known as Font12x16
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
-
Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
-
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.
Dependencies
~3MB
~35K SLoC