3 // Let Space key provide No-Break Space (NBSP), Narrow No-Break Space (NNBSP),
4 // Zero-Width Non-Joiner (ZWNJ), and Zero-Width Joiner (ZWJ) for the desired
8 ////////////////////////////////////////
14 type[Group1]="ONE_LEVEL",
15 symbols[Group1]= [ space ]
20 ////////////////////////////////////////
24 xkb_symbols "level2" {
26 type[Group1]="TWO_LEVEL",
27 symbols[Group1]= [ space, nobreakspace ]
32 // level3 & level3ns provide no-breaking spaces starting from level3
33 // This is good for typographers but experience shows many users accidently
34 // type no-breaking spaces on the CLI (resulting in errors)
37 xkb_symbols "level3" {
39 type[Group1]="FOUR_LEVEL",
40 symbols[Group1]= [ space, space, nobreakspace ]
44 // level3s kills fourth level
47 xkb_symbols "level3s" {
49 type[Group1]="FOUR_LEVEL",
50 symbols[Group1]= [ space, space, nobreakspace, NoSymbol ]
54 // for this reason pushing no-breaking spaces to level4 is the safe default nowadays
56 xkb_symbols "level4" {
58 type[Group1]="FOUR_LEVEL",
59 symbols[Group1]= [ space, space, space, nobreakspace ]
64 ////////////////////////////////////////
65 // Narrow No-Break Space
67 // level3n provides narrow no-breaking space in addition to the normal one
69 xkb_symbols "level3n" {
71 type[Group1]="FOUR_LEVEL",
72 symbols[Group1]= [ space, space, nobreakspace, 0x100202F ]
76 // level4n provides narrow no-breaking space in addition to the normal one
78 xkb_symbols "level4n" {
80 type[Group1]="EIGHT_LEVEL",
81 symbols[Group1]= [ space, space, space, nobreakspace, space, 0x100202F, NoSymbol, NoSymbol ]
85 // level4nl provides narrow no-breaking space in addition to the normal one
86 // without forcing the use of level5 for mostly four-level layouts
87 // Used by fr(oss), be(oss)…
89 xkb_symbols "level4nl" {
91 type[Group1]="LOCAL_EIGHT_LEVEL",
92 symbols[Group1]= [ space, space, space, nobreakspace, space, 0x100202F, NoSymbol, NoSymbol ]
97 ////////////////////////////////////////
98 // Zero-Width Non-Joiner & Zero-Width Joiner
99 // Author: Behnam Esfahbod <behnam@esfahbod.info>
101 // ZWNJ and ZWJ are widely used in Persian, Kurdinsh, Pashto, Uzbek and other
102 // languages that use PersoArabic script.
107 xkb_symbols "zwnj2" {
109 type[Group1]="TWO_LEVEL",
110 symbols[Group1]= [ space, 0x100200c ]
118 xkb_symbols "zwnj2zwj3" {
120 type[Group1]="FOUR_LEVEL",
121 symbols[Group1]= [ space, 0x100200c, 0x100200d ]
130 xkb_symbols "zwnj2zwj3nb4" {
132 type[Group1]="FOUR_LEVEL",
133 symbols[Group1]= [ space, 0x100200c, 0x100200d, nobreakspace ]
139 // Used by ir(ku_ara), af(basic), af(ps), af(uz), af(olpc-fa), af(olpc-ps), af(olpc-uz)
141 xkb_symbols "zwnj2nb3" {
143 type[Group1]="FOUR_LEVEL",
144 symbols[Group1]= [ space, 0x100200c, nobreakspace ]
152 // Used by lk(sin_phonetic)
154 xkb_symbols "zwnj2nb3s" {
156 type[Group1]="FOUR_LEVEL",
157 symbols[Group1]= [ space, 0x100200c, nobreakspace, NoSymbol ]
166 xkb_symbols "zwnj2nb3zwj4" {
168 type[Group1]="FOUR_LEVEL",
169 symbols[Group1]= [ space, 0x100200c, nobreakspace, 0x100200d ]
179 xkb_symbols "zwnj2nb3nnb4" {
181 type[Group1]="FOUR_LEVEL",
182 symbols[Group1]= [ space, 0x100200c, nobreakspace, 0x100202F ]
189 // Used by in(deva), in(olpc)
191 xkb_symbols "zwnj3zwj4" {
193 type[Group1]="FOUR_LEVEL",
194 symbols[Group1]= [ space, space, 0x100200c, 0x100200d ]