forked from liblouis/liblouis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request liblouis#1404 from BAUM-Engineering/romanian-6-dot…
…-table Romanian 6 dot table
- Loading branch information
Showing
7 changed files
with
159 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# | ||
# liblouis: Uncontracted braille table for Romanian. | ||
# | ||
# Copyright (C) 2023 by BAUM Engineering <[email protected]> | ||
# | ||
# This file is part of liblouis. | ||
# | ||
# liblouis is free software: you can redistribute it and/or modify it | ||
# under the terms of the GNU Lesser General Public License as | ||
# published by the Free Software Foundation, either version 2.1 of the | ||
# License, or (at your option) any later version. | ||
# | ||
# liblouis is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# Lesser General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Lesser General Public | ||
# License along with liblouis. If not, see | ||
# <http://www.gnu.org/licenses/>. | ||
|
||
#-index-name: Romanian, uncontracted | ||
#-display-name: Romanian braille | ||
|
||
#+language: ro | ||
#+type: literary | ||
#+dots: 6 | ||
#+contraction: no | ||
#+grade: 0 | ||
#+direction:both | ||
|
||
#-license: LGPLv2.1 | ||
#-author: BAUM Engineering <[email protected]> | ||
#-maintainer: BAUM Engineering <[email protected]> | ||
|
||
# This table is based on the French uncontracted braille table and was | ||
# created with the help of Gosa Tudor, Papp Levente, Trutiu Florin and | ||
# Patru Aurel from BAUM Engineering Romania. It has been tested and | ||
# used in multiple schools and associations. | ||
|
||
# Unfortunately there is no official documentation for Romanian braille as there | ||
# are no universal rules that apply. There are different rules based on | ||
# different regions or schools. | ||
|
||
# This table was made by us in collaboration with a local blind teacher and we | ||
# also distributed it for the last 2 years. | ||
|
||
# Romanian characters | ||
lowercase \x00e2 126 LATIN LETTER A WITH CIRCUMFLEX | ||
lowercase \x00ee 146 LATIN LETTER I WITH CIRCUMFLEX | ||
lowercase \x0103 16 LATIN LETTER A WITH BREVE | ||
lowercase \x0219 156 LATIN LETTER S WITH COMMA BELOW | ||
lowercase \x021b 246 LATIN LETTER T WITH COMMA BELOW | ||
lowercase \x015f 156 LATIN LETTER S WITH CEDILLA | ||
lowercase \x0163 246 LATIN LETTER T WITH CEDILLA | ||
|
||
base uppercase \x00c2 \x00e2 LATIN LETTER A WITH CIRCUMFLEX | ||
base uppercase \x00ce \x00ee LATIN LETTER I WITH CIRCUMFLEX | ||
base uppercase \x0102 \x0103 LATIN LETTER A WITH BREVE | ||
base uppercase \x0218 \x0219 LATIN LETTER S WITH COMMA BELOW | ||
base uppercase \x021a \x021b LATIN LETTER T WITH COMMA BELOW | ||
base uppercase \x015e \x015f LATIN LETTER S WITH CEDILLA | ||
base uppercase \x0162 \x0163 LATIN LETTER T WITH CEDILLA | ||
|
||
# Differences with French | ||
punctuation " 236 | ||
punctuation # 3456 | ||
punctuation ( 126 | ||
punctuation ) 345 | ||
punctuation « 236 | ||
punctuation » 236 | ||
punctuation [ 45-2356 | ||
comp6 [ 45-2356 | ||
punctuation ] 2356-12 | ||
comp6 ] 2356-12 | ||
punctuation { 6-2356 | ||
punctuation } 2356-3 | ||
|
||
include latinLetterDef6Dots.uti | ||
include digits6Dots.uti | ||
include litdigits6Dots.uti | ||
|
||
include fr-bfu-comp6.utb | ||
|
||
numsign 3456 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# Copyright © 2023 by BAUM Engineering <[email protected]> | ||
# | ||
# Copying and distribution of this file, with or without modification, | ||
# are permitted in any medium without royalty provided the copyright | ||
# notice and this notice are preserved. This file is offered as-is, | ||
# without any warranty. | ||
# | ||
# ---------------------------------------------------------------------------------------------- | ||
# | ||
# The Romanian uncontracted braille table is based on the French uncontracted | ||
# braille table and was created with the help of Gosa Tudor, Papp Levente, | ||
# Trutiu Florin and Patru Aurel from BAUM Engineering Romania. It has been | ||
# tested and used in multiple schools and associations. | ||
|
||
# Unfortunately there is no official documentation for Romanian braille as there | ||
# are no universal rules that apply. There are different rules based on | ||
# different regions or schools. | ||
|
||
# This table was made by us in collaboration with a local blind teacher and we | ||
# also distributed it for the last 2 years. | ||
|
||
|
||
display: | | ||
include unicode-without-blank.dis | ||
display 9 9 | ||
display a a | ||
# Test for uncontracted braille | ||
table: | ||
language: ro | ||
grade: 0 | ||
dots: 6 | ||
__assert-match: ro-g0.utb | ||
flags: {testmode: bothDirections} | ||
tests: | ||
- # Test 1 | ||
- Acesta este un test pentru limba română | ||
- ⠨⠁⠉⠑⠎⠞⠁ ⠑⠎⠞⠑ ⠥⠝ ⠞⠑⠎⠞ ⠏⠑⠝⠞⠗⠥ ⠇⠊⠍⠃⠁ ⠗⠕⠍⠣⠝⠡ | ||
- # Test 2 | ||
- Vom testa și caractere speciale [](){}!?. | ||
- ⠨⠧⠕⠍ ⠞⠑⠎⠞⠁ ⠱⠊ ⠉⠁⠗⠁⠉⠞⠑⠗⠑ ⠎⠏⠑⠉⠊⠁⠇⠑ ⠘⠶⠶⠃⠣⠜⠠⠶⠶⠄⠖⠢⠲ | ||
- xfail: {backward: "â instead of ("} | ||
- # Test 3 | ||
- Vom testa și caractere matematice +-×÷<>= | ||
- ⠨⠧⠕⠍ ⠞⠑⠎⠞⠁ ⠱⠊ ⠉⠁⠗⠁⠉⠞⠑⠗⠑ ⠍⠁⠞⠑⠍⠁⠞⠊⠉⠑ ⠠⠖⠤⠐⠔⠒⠐⠣⠐⠜⠶ | ||
- xfail: {backward: "* instead of ×"} | ||
- # Test 4 | ||
- Vom testa și numere 1 2 3 4 5 6 7 8 9 10 | ||
- ⠨⠧⠕⠍ ⠞⠑⠎⠞⠁ ⠱⠊ ⠝⠥⠍⠑⠗⠑ ⠼⠁ ⠼⠃ ⠼⠉ ⠼⠙ ⠼⠑ ⠼⠋ ⠼⠛ ⠼⠓ ⠼⠊ ⠼⠁⠚ | ||
- # Test 5 | ||
- doar litere mici | ||
- ⠙⠕⠁⠗ ⠇⠊⠞⠑⠗⠑ ⠍⠊⠉⠊ | ||
- # Test 6 | ||
- DOAR LITERE MARI | ||
- ⠨⠨⠙⠕⠁⠗ ⠨⠨⠇⠊⠞⠑⠗⠑ ⠨⠨⠍⠁⠗⠊ | ||
|
||
# spaces | ||
flags: {testmode: bothDirections} | ||
tests: | ||
- ['\x0009', '9'] | ||
- ['\x0020', '\x0020'] | ||
- ['\x00a0', 'a'] | ||
flags: {testmode: forward} | ||
tests: | ||
- ['\x000a', '\x0020'] | ||
- ['\x000c', '\x0020'] | ||
- ['\x000d', '\x0020'] | ||
- ['\x2060', ''] | ||
- ['\xfeff', ''] |