#-index-name: Bashkir
#-display-name: Bashkir braille

#+language: ba
#+type: literary
#+direction: forward

#-license: LGPLv2.1

#  Copyright (C) 2020 Rustam Churagulov <tcdl@yandex.ru>
#
#  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/>.

# The Bashkir braille code was created by Makarim Tukhvatshin in the
# early 60's. There is no official documentation on the braille code
# that we know of.

# Bashkir braille is largely the same as Russian braille
include ru-litbrl.ctb


# The Bashkir alphabet has 9 letters that are not in the Russian
# alphabet, namely Ә, Ө, Ҡ, Ғ, Ҫ, Ҙ, Һ, Ү and Ң. Like in ru-chardefs.cti, the
# following definitions have dot 9 set to make them distinguishable
# from the Latin letters.
uppercase \x04D8 34579   CYRILLIC LETTER æ Ә
uppercase \x04E8 12679   CYRILLIC LETTER ø Ө
uppercase \x04A0 14679   CYRILLIC LETTER q Ҡ
uppercase \x0492 1245679 CYRILLIC LETTER ɣ Ғ
uppercase \x04AA 3479    CYRILLIC LETTER θ Ҫ
uppercase \x0498 34679   CYRILLIC LETTER ð Ҙ
uppercase \x04BA 123679  CYRILLIC LETTER h Һ
uppercase \x04AE 1345679 CYRILLIC LETTER y Ү
uppercase \x04A2 145679  CYRILLIC LETTER ŋ Ң
lowercase \x04D9 3459    CYRILLIC LETTER æ ә
lowercase \x04E9 1269    CYRILLIC LETTER ø ө
lowercase \x04A1 1469    CYRILLIC LETTER q ҡ
lowercase \x0493 124569  CYRILLIC LETTER ɣ ғ
lowercase \x04AB 349     CYRILLIC LETTER θ ҫ
lowercase \x0499 3469    CYRILLIC LETTER ð ҙ
lowercase \x04BB 12369   CYRILLIC LETTER h һ
lowercase \x04AF 134569  CYRILLIC LETTER y ү
lowercase \x04A3 14569   CYRILLIC LETTER ŋ ң

# Extend classes defined in ru-litbrl.ctb
attribute uppercyrillic \x04D8\x04E8\x04A0\x0492\x04AA\x0498\x04BA\x04AE\x04A2
attribute lowercyrillic \x04D9\x04E9\x04A1\x0493\x04AB\x0499\x04BB\x04AF\x04A3

# Unicode braille patterns
include braille-patterns.cti
