Debian Codegraph @

tables/ar-ar-g1-core.uti

raw
1 # liblouis: Arabic Grade 1 table without math character definitions
2
3 # Based on the official Unified Arabic Braille Project website
4 # <https://mip.qa/braille>: a comprehensive resource containing all
5 # details about Arabic braille, including complete references,
6 # tutorials and awareness articles. It also provides a platform for
7 # suggestions and comments to improve Arabic braille further.
8
9 # This table was originally built by Leon Ungier
10 # <[email protected]> with help and guidance from Mohammed
11 # R. Ramadan <[email protected]>, and improved over the years.
12
13 # Copyright (C) 1995-2004 by The BRLTTY Team.
14 # Copyright (C) 2004 by ViewPlus Technologies, Inc., www.viewplustech.com
15 # Copyright (C) 2004 by Computers to Help People, Inc., www.chpi.org
16 # Copyright (C) 2011-2012 by Mesar Hameed <[email protected]>
17 # Copyright (C) 2018,2020 by Ikrami Ahmad <[email protected]>
18 # Copyright (C) 2020 Mada, Qatar Assistive Technology Center <[email protected]>
19
20 # This file is free software; you can redistribute it and/or
21 # modify it under the terms of the GNU Lesser General Public
22 # License as published by the Free Software Foundation; either
23 # version 2.1 of the License, or (at your option) any later version.
24
25 # This file is distributed in the hope that it will be useful,
26 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 # Lesser General Public License for more details.
29
30 # You should have received a copy of the GNU Lesser General Public
31 # License along with this file; if not, write to the Free Software
32 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33
34 include text_nabcc.dis All display opcodes
35 include spaces.uti
36 include braille-patterns.cti # unicode braille.
37
38 # Arabic characters
39 letter ء 3 # arabic individual hamza (\x0621)
40 letter آ 345 # arabic alef madd (\x0622)
41 letter أ 34 # arabic hamza above alef (\x0623)
42 letter ؤ 1256 # arabic hamza on waw (\x0624)
43 letter إ 46 # arabic hamza below alef (\x0625)
44 letter ئ 13456 # arabic hamza on iaa (\x0626)
45 letter ا 1 # arabic Alef (\x0626)
46 letter ب 12 # arabic baa (\x0628)
47 letter ة 16 # arabic taa marbuta (\x0629)
48 letter ث 1456 # arabic thaa (\x062B)
49 letter ت 2345 # arabic Taa (\x062A)
50 letter ج 245 # arabic jeem (\x062C)
51 letter ح 156 # arabic strong haa (\x062D)
52 letter خ 1346 # arabic Khaa (\x062E)
53 letter د 145 # arabic dal (\x062F)
54 letter ذ 2346 # arabic thal (\x0630)
55 letter ر 1235 # arabic raa (\x0631)
56 letter ز 1356 # arabic zaai (\x0632)
57 letter س 234 # arabic seen (\x0633)
58 letter ش 146 # arabic sheen (\x0634)
59 letter ص 12346 # arabic saad (\x0635)
60 letter ض 1246 # arabic dhaad (\x0636)
61 letter ط 23456 # arabic strong taa (\x0637)
62 letter ظ 123456 # arabic strong thaa (\x0638)
63 letter ع 12356 # arabic ayn (\x0639)
64 letter غ 126 # arabic ghayn (\x063A)
65 letter ف 124 # arabic faa (\x0641)
66 letter ق 12345 # arabic strong qaaf (\x0642)
67 letter ك 13 # arabic kaaf (\x0643)
68 letter ل 123 # arabic laam (\x0644)
69 letter م 134 # arabic meem (\x0645)
70 letter ن 1345 # arabic noon (\x0646)
71 letter ه 125 # arabic soft haa (\x0647)
72 letter و 2456 # arabic waaw (\x0648)
73 letter ى 135 # arabic alef maqsoora (\x0649)
74 letter ي 24 # arabic iaa (\x064A)
75 letter َ 2 # arabic diacritic symbol fathah (\x064E)
76 letter ِ 15 # arabic diacritic symbol kasrah (\x0650)
77 letter ً 23 # arabic diacritic symbol tanween fath (\x064B)
78 letter ٌ 26 # arabic diacritic symbol tanween dham (\x064C)
79 letter ٍ 35 # arabic diacritic symbol tanween kasr (\x064D)
80 letter ُ 136 # arabic diacritic symbol dhamma (\x064F)
81 letter ّ 6 # arabic diacritic symbol shadda (\x0651)
82 letter ْ 25 # arabic diacritic symbol sukoon (\x0652)
83 #additional forms
84 letter \x067E 12 #Arabic letter Peh
85 letter \x0686 245 # arabic letter gtcheh چ
86 letter \x06a4 124 # arabic letter Veh ڤ
87 letter \x06af 13 # arabic letter gaf گ
88
89 noback sign ـ 25-25 # arabic tatweel (\x0640)
90
91 always \x0644\x0627 1236 # to join lam and alef together in one cell if they come in one word
92 midendword \x0651 6 # to indicate that Shadda can never come at the beginning of a word
93 midendword \x0652 25 # arabic diacritic symbol sukoon (\x0652)
94 midendword َ 2
95
96 #the following to correct Shadda symbol, which should be written before the character in Arabic braille code. this will consists of every arabic character followed by the Shadda diacritic symbol, and a dot pattern of the braille shadda followed by the character.
97 noback always ءّ 6-3
98 noback always آّ 6-345
99 noback always أّ 6-34
100 noback always ؤّ 6-1256
101 noback always إّ 6-46
102 noback always ئّ 6-13456
103 noback always اّ 6-1
104 noback always بّ 6-12
105 noback always ةّ 6-16
106 noback always ثّ 6-1456
107 noback always تّ 6-2345
108 noback always جّ 6-245
109 noback always حّ 6-156
110 noback always خّ 6-1346
111 noback always دّ 6-145
112 noback always ذّ 6-2346
113 noback always رّ 6-1235
114 noback always زّ 6-1356
115 noback always سّ 6-234
116 noback always شّ 6-146
117 noback always صّ 6-12346
118 noback always ضّ 6-1246
119 noback always طّ 6-23456
120 noback always ظّ 6-123456
121 noback always عّ 6-12356
122 noback always غّ 6-126
123 noback always فّ 6-124
124 noback always قّ 6-12345
125 noback always كّ 6-13
126 noback always لّ 6-123
127 noback always مّ 6-134
128 noback always نّ 6-1345
129 noback always هّ 6-125
130 noback always وّ 6-2456
131 noback always يّ 6-24
132 noback always لاّ 6-1236
133
134 punctuation ، 5 # Arabic comma (\x060C)
135 # Arabic semi-colon: in the old standard it was dots 56; had to be changed to make way for the implementation of the
136 # grade 1 indicator.
137 punctuation \x061B 5-23
138 noback punctuation ; 5-23
139 punctuation : 5-2
140 punctuation \x061F 236 # Arabic question mark ؟
141 noback punctuation ? 236
142 punctuation \x06D4 256 # Arabic Full stop
143 punctuation . 256
144 noback punctuation , 2
145 punctuation ! 235
146 punctuation " 2356
147 # number sign: the old standard mapped it to 3456, but had to be changed in order to distinguish other uses beside
148 # preceding numbers.
149 sign # 456-35
150 # dollar sign: in the old standard it is mapped to dots 12456 but this would conflict with the contraction هم in grade 2.
151 sign $ 4-256
152 punctuation % 25-1234
153 sign & 4-12346
154 noback punctuation ' 3 # apostrophe
155 punctuation ) 356
156 punctuation ( 236
157 sign * 56-35
158 math + 56-235
159 punctuation - 36-36
160 nofor punctuation - 36-0
161 # forward slash: originally mapped to dots 34; had to be changed so that it does not conflict with the letter \x0623
162 # (arabic hamza above alef)
163 math / 456-36
164
165 # Arabic numbers
166 digit \x0660 245 # 0 (٠)
167 digit \x0661 1 # 1 (١)
168 digit \x0662 12 # 2 (٢)
169 digit \x0663 14 # 3 (٣)
170 digit \x0664 145 # 4 (٤)
171 digit \x0665 15 # 5 (٥)
172 digit \x0666 124 # 6 (٦)
173 digit \x0667 1245 # 7 (٧)
174 digit \x0668 125 # 8 (٨)
175 digit \x0669 24 # 9 (٩)
176 litdigit \x0660 245 # 0 (٠)
177 litdigit \x0661 1 # 1 (١)
178 litdigit \x0662 12 # 2 (٢)
179 litdigit \x0663 14 # 3 (٣)
180 litdigit \x0664 145 # 4 (٤)
181 litdigit \x0665 15 # 5 (٥)
182 litdigit \x0666 124 # 6 (٦)
183 litdigit \x0667 1245 # 7 (٧)
184 litdigit \x0668 125 # 8 (٨)
185 litdigit \x0669 24 # 9 (٩)
186
187 # Latin numbers
188 include loweredDigits6Dots.uti
189 include litdigits6Dots.uti
190
191 # less than sign: the old standard mapped it to dots 246, which conflicted with a contraction in grade 2
192 math < 45-26
193 math = 56-2356
194 # greater than sign: the old standard mapped it to dots 135, which conflicted with a character and a contraction
195 math > 45-35
196 # at sign: the old standard used dot 4; it was changed to match the UEB representation, in order to make it readable
197 # also in grade 2
198 sign @ 4-1
199
200 include latinLetterDef6Dots.uti
201 punctuation [ 6-236
202 sign \\ 45-36 # not mentioned in the Unified arabic braille code.
203 punctuation ] 356-3
204 # caret sign: changed to match the UEB representation because dots 346 is used as a prefix for many math symbols
205 sign ^ 4-26
206 sign _ 6-36 # underscore
207 noback sign ` 4 # grave accent
208 punctuation { 5-236
209 # vertical bar: changed so that it can not be confused with latin letter g or the contraction of the word كان
210 sign | 456-25
211 punctuation } 356-2
212 # tilde: the old standard mapped it to dots 45; had to be changed so that it can be read in grade 2 context
213 math ~ 45-25
214
215 punctuation \x00Ad 36-36 # soft hyphen
216
217 sign \x00AB 6-2356 # LEFT-POINTING DOUBLE ANGLE QUOTATION
218 sign \x00BB 2356-3 # RIGHT-POINTING DOUBLE ANGLE QUOTATION
219 noback punctuation \x2018 3 # smart single left quotation mark
220 noback punctuation \x2019 3 # smart single right quotation mark
221 punctuation \x201C 2356 # smart opening double quote
222 punctuation \x201D 2356 # smart closing double quote
223 punctuation \x201E 2356 # smart double low quotation mark
224 punctuation \x201F 2356 # smart double high reverse quotation mark
225 sign \x2329 2356 〈
226 sign \x232A 2356 〉
227 math \x3008 2356 〈
228 math \x3009 2356 〉
229
230 punctuation \x00bf 45-56-236 ¿
231 sign \x00a1 45-56-235 ¡
232 math \x2212 56-36 # − minus الطرح
233 math \x00D7 56-236 # × multiplication sign
234 math \x2715 56-236 MULTIPLICATION SIGN
235 math \x00F7 56-256 # ÷ division sign
236
237 sign \x200C 9 # ZERO WIDTH NON-JOINER
238 punctuation \x2010 36-36 # hyphen
239 punctuation \x2011 36-36 # non-breaking hyphen
240 punctuation \x2013 5-36-36 –
241 punctuation \x2014 45-36-36 —
242 punctuation \x2015 456-36-36 ―
243
244 # smart ellipsis: was changed from dots 3-3-3, so as to keep consistency with the period
245 punctuation \x2026 256-256-256
246 sign \x2022 456-256 • bullet
247 noback sign \x25CF 35 # BLACK CIRCLE not representing filled circle shape as it is mostly used in password fields to represent hidden characters
248
249 #additional rules
250 postpunc ) 356
251 prepunc ( 236
252 begnum # 456-35
253 midnum . 256
254 # the old standard assigned the math comma to dot 3, which is awkward; changed to match other braille codes and to be in
255 # the upper part of the cell like the numbers
256 midnum , 2
257 noback postpunc , 2
258 decpoint . 256
259 midnum - 36-36
260 hyphen - 36-36
261 postpunc ، 5 # Arabic comma (\x060C)
262 postpunc . 256
263 postpunc \x06D4 256 # Arabic Full stop
264 postpunc ; 5-23
265 postpunc \x061B 5-23 # Arabic semiColon
266 midnum : 5-2
267 postpunc : 5-2
268 midnum / 456-36
269 postpunc \x061F 236 # Arabic question mark ؟
270 postpunc ? 236
271 endnum % 25-1234
272 midnum ^ 4-26
273
274 # Braille indicators
275 numsign 3456 number sign, just a dots operand
276 numericmodechars .,
277 nocontractsign 56
278 nonumsign 56
279 numericnocontchars ابدِبهيجabcdefghij
280
281 noback multind 56-6 letsign capsletter
282 noback capsletter 6
283 noback begcapsword 6-6
284 noback endcapsword 6-3
285 emphclass italic
286 emphclass underline
287 emphclass bold
288 noback begemph italic 46
289 noback endemph italic 46-46
290 noback begemph bold 456
291 noback endemph bold 456-456