From 4fd3c0fcae0ea6325d311c4351caa45991f5477a Mon Sep 17 00:00:00 2001 From: aiongg Date: Sat, 10 Oct 2026 13:48:07 +0000 Subject: [PATCH] UI: CJK features behind a preference that follows the interface language Preferences > Type > Show CJK Features (cjkFeatures; unset follows the interface language: on for Japanese, Chinese and Korean) hides the CJK-only Type menu items (Tate-Chu-Yoko, Ruby, Kenten, Warichu) and the Ruby Quick Apply entry. The commands, layout and IDML work either way. --- ROADMAP.md | 1 + apps/designcraft/src/native_menu.rs | 2 + crates/engine/src/cmd/prefs.rs | 2 +- crates/engine/src/lib.rs | 5 ++ crates/ui-egui/src/dialogs.rs | 12 +-- crates/ui-egui/src/i18n.rs | 7 ++ crates/ui-egui/src/i18n/ar.rs | 1 + crates/ui-egui/src/i18n/it.rs | 1 + crates/ui-egui/src/i18n/ja.rs | 1 + crates/ui-egui/src/i18n/pt_br.rs | 1 + crates/ui-egui/src/i18n/uk.rs | 1 + crates/ui-egui/src/lib.rs | 12 +++ crates/ui-egui/src/menus.rs | 115 ++++++++++++++++++++++++++-- docs/cjk.md | 1 + 14 files changed, 149 insertions(+), 13 deletions(-) diff --git a/ROADMAP.md b/ROADMAP.md index 86a435456..bc7d0e4bc 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -111,6 +111,7 @@ DesignCraft aims at full Adobe InDesign parity — and to be better: faster, ope - Video and sound (place .mp4/.mov/.webm/.mp3/.wav…, `media.options/get`, Media panel): media frames show a poster or placeholder on screen, in print and in PDF, and export as HTML5 `