1 // Let Space key provide No-Break Space (NBSP), Narrow No-Break Space (NNBSP),
2 // Zero-Width Non-Joiner (ZWNJ), and Zero-Width Joiner (ZWJ) for the desired
6 ////////////////////////////////////////
12 type[Group1]="ONE_LEVEL",
13 symbols[Group1]= [ space ]
18 ////////////////////////////////////////
22 xkb_symbols "level2" {
24 type[Group1]="TWO_LEVEL",
25 symbols[Group1]= [ space, nobreakspace ]
30 // level3 & level3ns provide no-breaking spaces starting from level3
31 // This is good for typographers but experience shows many users accidently
32 // type no-breaking spaces on the CLI (resulting in errors)
33 // Used by fr(latin9) and lt(std)
35 xkb_symbols "level3" {
37 type[Group1]="FOUR_LEVEL",
38 symbols[Group1]= [ space, space, nobreakspace ]
42 // level3s kills fourth level
45 xkb_symbols "level3s" {
47 type[Group1]="FOUR_LEVEL",
48 symbols[Group1]= [ space, space, nobreakspace, NoSymbol ]
52 // for this reason pushing no-breaking spaces to level4 is the safe default nowadays
54 xkb_symbols "level4" {
56 type[Group1]="FOUR_LEVEL",
57 symbols[Group1]= [ space, space, space, nobreakspace ]
62 ////////////////////////////////////////
63 // Narrow No-Break Space
65 // level3n provides narrow no-breaking space in addition to the normal one
67 xkb_symbols "level3n" {
69 type[Group1]="FOUR_LEVEL",
70 symbols[Group1]= [ space, space, nobreakspace, 0x100202F ]
74 // level4n provides narrow no-breaking space in addition to the normal one
76 xkb_symbols "level4n" {
78 type[Group1]="EIGHT_LEVEL",
79 symbols[Group1]= [ space, space, space, nobreakspace, space, 0x100202F, NoSymbol, NoSymbol ]
83 // level4nl provides narrow no-breaking space in addition to the normal one
84 // without forcing the use of level5 for mostly four-level layouts
85 // Used by fr(oss), be(oss)…
87 xkb_symbols "level4nl" {
89 type[Group1]="LOCAL_EIGHT_LEVEL",
90 symbols[Group1]= [ space, space, space, nobreakspace, space, 0x100202F, NoSymbol, NoSymbol ]
95 ////////////////////////////////////////
96 // Zero-Width Non-Joiner & Zero-Width Joiner
97 // Author: Behnam Esfahbod <behnam@esfahbod.info>
99 // ZWNJ and ZWJ are widely used in Persian, Kurdinsh, Pashto, Uzbek and other
100 // languages that use PersoArabic script.
105 xkb_symbols "zwnj2" {
107 type[Group1]="TWO_LEVEL",
108 symbols[Group1]= [ space, 0x100200c ]
116 xkb_symbols "zwnj2zwj3" {
118 type[Group1]="FOUR_LEVEL",
119 symbols[Group1]= [ space, 0x100200c, 0x100200d ]
128 xkb_symbols "zwnj2zwj3nb4" {
130 type[Group1]="FOUR_LEVEL",
131 symbols[Group1]= [ space, 0x100200c, 0x100200d, nobreakspace ]
137 // Used by ir(ku_ara), af(basic), af(ps), af(uz), af(olpc-fa), af(olpc-ps), af(olpc-uz)
139 xkb_symbols "zwnj2nb3" {
141 type[Group1]="FOUR_LEVEL",
142 symbols[Group1]= [ space, 0x100200c, nobreakspace ]
150 xkb_symbols "zwnj2nb3s" {
152 type[Group1]="FOUR_LEVEL",
153 symbols[Group1]= [ space, 0x100200c, nobreakspace, NoSymbol ]
162 xkb_symbols "zwnj2nb3zwj4" {
164 type[Group1]="FOUR_LEVEL",
165 symbols[Group1]= [ space, 0x100200c, nobreakspace, 0x100200d ]
175 xkb_symbols "zwnj2nb3nnb4" {
177 type[Group1]="FOUR_LEVEL",
178 symbols[Group1]= [ space, 0x100200c, nobreakspace, 0x100202F ]
185 // Used by in(deva), in(olpc)
187 xkb_symbols "zwnj3zwj4" {
189 type[Group1]="FOUR_LEVEL",
190 symbols[Group1]= [ space, space, 0x100200c, 0x100200d ]
197 // Used by lk(sin_phonetic)
199 xkb_symbols "nb2zwnj3s" {
201 type[Group1]="FOUR_LEVEL",
202 symbols[Group1]= [ space, nobreakspace, 0x100200c, NoSymbol ]