summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey V. Udaltsov <svu@gnome.org>2011-03-22 20:52:01 +0000
committerSergey V. Udaltsov <svu@gnome.org>2011-03-22 20:52:01 +0000
commit0a247a4cdd3b138c73c34b1aed4f423ec2e1fe75 (patch)
treea72dac8a42f1aaa18a037636e2d5034ddb684ee1
parent2723f9bf7e8376a7b5372c088f859b8d9e30c6e7 (diff)
Fixed nbsp behavior in lk(zwnj2nb3s)
https://bugs.freedesktop.org/show_bug.cgi?id=35533
-rw-r--r--symbols/lk2
-rw-r--r--symbols/nbsp16
2 files changed, 14 insertions, 4 deletions
diff --git a/symbols/lk b/symbols/lk
index 197e44d0..1fe10bb8 100644
--- a/symbols/lk
+++ b/symbols/lk
@@ -72,7 +72,7 @@ xkb_symbols "sin_phonetic" {
key <AB10> { [ any, any, 0x0100200d, NoSymbol ] };
// Space
- include "nbsp(zwnj2nb3s)"
+ include "nbsp(nb2zwnj3s)"
include "level3(ralt_switch)"
};
diff --git a/symbols/nbsp b/symbols/nbsp
index ece2c9be..77b40df0 100644
--- a/symbols/nbsp
+++ b/symbols/nbsp
@@ -145,9 +145,7 @@ xkb_symbols "zwnj2nb3" {
// ZWNJ on level 2
-// ZWJ on level 3
-// NBSP on level 4
-// Used by lk(sin_phonetic)
+// NBSP on level 3
partial
xkb_symbols "zwnj2nb3s" {
key <SPCE> {
@@ -192,3 +190,15 @@ xkb_symbols "zwnj3zwj4" {
symbols[Group1]= [ space, space, 0x100200c, 0x100200d ]
};
};
+
+
+// NBSP on level 2
+// ZWNJ on level 3
+// Used by lk(sin_phonetic)
+partial
+xkb_symbols "nb2zwnj3s" {
+ key <SPCE> {
+ type[Group1]="FOUR_LEVEL",
+ symbols[Group1]= [ space, nobreakspace, 0x100200c, NoSymbol ]
+ };
+};