Provide access to font from each crate
This commit is contained in:
parent
b38f7d2837
commit
8152513bf8
2 changed files with 1 additions and 2 deletions
BIN
tiny_skia/fonts/Iced-Icons.ttf
Normal file
BIN
tiny_skia/fonts/Iced-Icons.ttf
Normal file
Binary file not shown.
|
|
@ -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(),
|
||||
)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue