Remove un-needed entry in Cargo.toml (#119)

This commit is contained in:
Logan McNaughton 2025-01-09 18:39:39 +01:00 committed by GitHub
parent a47801b9cb
commit b2d2089d95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View File

@ -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"

View File

@ -345,15 +345,15 @@ fn execute<F: std::future::Future<Output = ()> + 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,
},