mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Move all crates into a crates directory (#1940)
This commit is contained in:
@@ -19,7 +19,9 @@ fn setup_custom_fonts(ctx: &egui::Context) {
|
||||
// .ttf and .otf files supported.
|
||||
fonts.font_data.insert(
|
||||
"my_font".to_owned(),
|
||||
egui::FontData::from_static(include_bytes!("../../../epaint/fonts/Hack-Regular.ttf")),
|
||||
egui::FontData::from_static(include_bytes!(
|
||||
"../../../crates/epaint/fonts/Hack-Regular.ttf"
|
||||
)),
|
||||
);
|
||||
|
||||
// Put my font first (highest priority) for proportional text:
|
||||
|
||||
Reference in New Issue
Block a user