Skip to content

Commit

Permalink
fix(text): πŸ› only include bytes in self package
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Adoo committed Jun 23, 2023
1 parent b348e03 commit adde35b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ winit.workspace = true
[dev-dependencies]
colored.workspace = true
paste.workspace = true
ribir_dev_helper = {path = "../dev-helper", version = "0.0.1-alpha.1"}
ribir_dev_helper = {path = "../dev-helper"}

[features]
png = ["ribir_painter/png"]
2 changes: 1 addition & 1 deletion gpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ zerocopy.workspace = true

[dev-dependencies]
paste.workspace = true
ribir_dev_helper = {path = "../dev-helper", version = "0.0.1-alpha.1"}
ribir_dev_helper = {path = "../dev-helper"}

[features]
default = ["wgpu"]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion text/src/font_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl FontDB {
impl Default for FontDB {
fn default() -> FontDB {
let mut data_base = fontdb::Database::new();
data_base.load_font_data(include_bytes!("../../fonts/Lato-Regular.ttf").to_vec());
data_base.load_font_data(include_bytes!("../Lato-Regular.ttf").to_vec());
let default_font = data_base.faces().next().map(|f| f.id).unwrap();
let mut this = FontDB {
default_font,
Expand Down
4 changes: 2 additions & 2 deletions widgets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ webbrowser.workspace = true

[dev-dependencies]
paste.workspace = true
ribir_dev_helper = {path = "../dev-helper", version = "0.0.1-alpha.1"}
ribir_material = {path = "../themes/material", version = "0.0.1-alpha.1"}
ribir_dev_helper = {path = "../dev-helper"}
ribir_material = {path = "../themes/material"}

0 comments on commit adde35b

Please sign in to comment.