diff --git a/Cargo.toml b/Cargo.toml index 9a23574..6606a68 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,6 @@ chrono = "0.4" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" eframe = "0.30" -epaint = "0.30" rfd = "0.15" sha2 = "0.10" rusttype = "0.9" diff --git a/src/ui/gui.rs b/src/ui/gui.rs index eb99948..e978371 100644 --- a/src/ui/gui.rs +++ b/src/ui/gui.rs @@ -345,15 +345,15 @@ fn execute + Send + 'static>(f: F) { } fn add_japanese_font(ctx: &egui::Context) { - ctx.add_font(epaint::text::FontInsert::new( + ctx.add_font(eframe::epaint::text::FontInsert::new( "japanese_font", egui::FontData::from_static(include_bytes!("../../data/NotoSansJP-Regular.ttf")), vec![ - epaint::text::InsertFontFamily { + eframe::epaint::text::InsertFontFamily { family: egui::FontFamily::Proportional, priority: egui::epaint::text::FontPriority::Lowest, }, - epaint::text::InsertFontFamily { + eframe::epaint::text::InsertFontFamily { family: egui::FontFamily::Monospace, priority: egui::epaint::text::FontPriority::Lowest, },