Add showbits-assets with Unifont 15.1.05
This commit is contained in:
parent
aff5b4974e
commit
dd40058e71
5 changed files with 15 additions and 1 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -1155,6 +1155,10 @@ dependencies = [
|
|||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "showbits-assets"
|
||||
version = "0.0.0"
|
||||
|
||||
[[package]]
|
||||
name = "showbits-common"
|
||||
version = "0.0.0"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[workspace]
|
||||
resolver = "2"
|
||||
members = ["showbits-common", "showbits-thermal-printer"]
|
||||
members = ["showbits-assets", "showbits-common", "showbits-thermal-printer"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.0.0"
|
||||
|
|
@ -11,6 +11,7 @@ anyhow = "1.0.80"
|
|||
cosmic-text = "0.11.2"
|
||||
image = "0.24.9"
|
||||
palette = "0.7.5"
|
||||
showbits-assets.path = "./showbits-assets"
|
||||
showbits-common.path = "./showbits-common"
|
||||
|
||||
[workspace.dependencies.taffy]
|
||||
|
|
|
|||
7
showbits-assets/Cargo.toml
Normal file
7
showbits-assets/Cargo.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[package]
|
||||
name = "showbits-assets"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
BIN
showbits-assets/data/unifont-15.1.05.otf
Normal file
BIN
showbits-assets/data/unifont-15.1.05.otf
Normal file
Binary file not shown.
2
showbits-assets/src/lib.rs
Normal file
2
showbits-assets/src/lib.rs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
pub const UNIFONT: &[u8] = include_bytes!("../data/unifont-15.1.05.otf");
|
||||
pub const UNIFONT_NAME: &str = "Unifont";
|
||||
Loading…
Add table
Add a link
Reference in a new issue