Merge pull request #118 from storytold/claude/system-fonts-rmnw4m

G2: font menus list the installed fonts
This commit is contained in:
BFlat
2026-10-07 00:37:13 +07:00
committed by GitHub
16 changed files with 201 additions and 25 deletions
+2
View File
@@ -54,6 +54,8 @@ fn main() -> eframe::Result {
_ => files.push(a),
}
}
// The font menus list the installed fonts: read their names while the window opens.
effectcraft_engine::text::fonts::scan_system_in_background();
// Wayland shows the window's icon from its desktop entry: an AppImage brings its own.
#[cfg(target_os = "linux")]
appimage::integrate_from_env(ICON_PNG);