DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
Merge #394 update: UI: CJK interface text from installed fonts, on the Latin baseline
aionggf1b4b0cf4951
diff --cc crates/ui-egui/src/lib.rsindex 701903176,29b1ec0b4..e4ac5fab3--- a/crates/ui-egui/src/lib.rs+++ b/crates/ui-egui/src/lib.rs@@@ -492,11 -474,11 +492,14 @@@ pub struct DesignAppstyled: bool,/// The interface language the UI fonts were installed for (it orders the CJK fallbacks).fonts_lang: String,+ /// The installed CJK faces are among the UI fonts (false while the system fonts are still+ /// being cataloged: the fonts are installed again when they are).+ fonts_system: bool,pub restyle: bool,fonts_ready: bool,+ /// Files the operating system asked to open (macOS Finder, Dock, Open With), opened once the+ /// window is ready; see [`DesignApp::open_documents_later`].+ os_documents: Vec<String>,pub integrated_titlebar: bool,/// The host installed a native menu bar (macOS): don't draw menus in the window.pub native_menu: bool,@@@ -551,9 -517,9 +554,10 @@@ impl DesignAppshot_token: 0,styled: false,fonts_lang: String::new(),+ fonts_system: false,restyle: false,fonts_ready: false,+ os_documents: Vec::new(),integrated_titlebar: false,native_menu: false,native_shortcuts: Default::default(),