From 84e10e047012f55d6c2ba2a2c53da93cc9ac00e4 Mon Sep 17 00:00:00 2001 From: Reza Hosseinzadeh <69734726+RZHSSNZDH@users.noreply.github.com> Date: Sun, 21 Jul 2024 11:37:01 +0000 Subject: [PATCH] Improve zwnj/halfspace symbol and Persian layout (#711) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix persian's half-space invisibility * Add a 0.5 space before ظ in persian * Change the place of چ in persian * Change the width of backspace in persian * Rename zwnj to halfspace in KeyValue.java and beng_provat layout --- srcs/juloo.keyboard2/KeyValue.java | 3 ++- srcs/layouts/arab_pc_ir.xml | 9 ++++----- srcs/layouts/beng_provat.xml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java index 31a92f2..52b5094 100644 --- a/srcs/juloo.keyboard2/KeyValue.java +++ b/srcs/juloo.keyboard2/KeyValue.java @@ -550,7 +550,8 @@ public final class KeyValue implements Comparable case "meteg_placeholder": return placeholderKey(Placeholder.METEG); /* intending/preventing ligature - supported by many scripts*/ case "zwj": return charKey("zwj", '\u200D', 0); // zero-width joiner (provides ligature) - case "zwnj": return charKey("zwnj", '\u200C', 0); // zero-width non joiner (prevents unintended ligature) + case "zwnj": + case "halfspace": return charKey("⸽", '\u200C', 0); // zero-width non joiner /* Editing keys */ case "copy": return editingKey(0xE030, Editing.COPY); diff --git a/srcs/layouts/arab_pc_ir.xml b/srcs/layouts/arab_pc_ir.xml index f5b7f88..bd712b1 100644 --- a/srcs/layouts/arab_pc_ir.xml +++ b/srcs/layouts/arab_pc_ir.xml @@ -11,7 +11,7 @@ - + @@ -20,14 +20,14 @@ - + - + @@ -36,7 +36,6 @@ - - + diff --git a/srcs/layouts/beng_provat.xml b/srcs/layouts/beng_provat.xml index e13a4a2..3342f28 100644 --- a/srcs/layouts/beng_provat.xml +++ b/srcs/layouts/beng_provat.xml @@ -21,7 +21,7 @@ - +