Skip to content

Commit

Permalink
Merge pull request #1928 from tarkah/fix/vendored-build
Browse files Browse the repository at this point in the history
Fix iced build when using vendored dependencies
  • Loading branch information
hecrj authored Jun 23, 2023
2 parents b38f7d2 + 8152513 commit 105e52a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file added tiny_skia/fonts/Iced-Icons.ttf
Binary file not shown.
3 changes: 1 addition & 2 deletions tiny_skia/src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ impl Pipeline {
Pipeline {
font_system: RefCell::new(cosmic_text::FontSystem::new_with_fonts(
[cosmic_text::fontdb::Source::Binary(Arc::new(
include_bytes!("../../wgpu/fonts/Iced-Icons.ttf")
.as_slice(),
include_bytes!("../fonts/Iced-Icons.ttf").as_slice(),
))]
.into_iter(),
)),
Expand Down

0 comments on commit 105e52a

Please sign in to comment.