diff options
Diffstat (limited to 'Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-itrans/brh-kan.map')
-rw-r--r-- | Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-itrans/brh-kan.map | 339 |
1 files changed, 339 insertions, 0 deletions
diff --git a/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-itrans/brh-kan.map b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-itrans/brh-kan.map new file mode 100644 index 00000000000..e226f8fe1c4 --- /dev/null +++ b/Master/texmf-dist/fonts/misc/xetex/fontmapping/xetex-itrans/brh-kan.map @@ -0,0 +1,339 @@ +; TECkit mapping for Baraha input scheme for writing Unicode Kannada (0C80-0CFF) +; by Abhinandan S.P. <abhinandan.sp@iiitb.net> and Shrisha Rao <shrao@acm.org>, +; based on harvardkyoto.map written by Daniel Stender +; +; Updated 2009-12-04 + +LHSName "brh-kan" +RHSName "Unicode" +LHSDescription "Baraha input method for Unicode Kannada" +Version "0.91b" + +Define dot U+002E + +Define a U+0061 +Define A U+0041 +Define i U+0069 +Define I U+0049 +Define u U+0075 +Define U U+0055 +Define R U+0052 +Define L U+004C + +Define e U+0065 +Define E U+0045 +Define o U+006F +Define H U+0048 + +Define k U+006B +Define h U+0068 +Define g U+0067 +Define G U+0047 + +Define c U+0063 +Define C U+0043 +Define j U+006A +Define J U+004A + +Define T U+0054 +Define D U+0044 +Define N U+004E + +Define t U+0074 +Define d U+0064 +Define n U+006E + +Define p U+0070 +Define b U+0062 +Define m U+006D + +Define y U+0079 +Define r U+0072 +Define l U+006C +Define v U+0076 +Define w U+0077 + +Define z U+007A +Define S U+0053 +Define s U+0073 +Define Y U+0059 +Define O U+004F +Define K U+004B +Define B U+0042 +Define P U+0050 + +Define anudatta U+002D ; - +Define svarita U+0021 ; ! +Define tlde U+007E +Define cret U+005E +Define M U+004D + +Define q U+0071 +Define f U+0066 +Define x U+0078 + + +Define anunasika U+0901 +Define anusvara U+0C82 +Define visarga U+0C83 + +Define asvara U+0C85 +Define Asvara U+0C86 +Define isvara U+0C87 +Define Isvara U+0C88 +Define usvara U+0C89 +Define Usvara U+0C8A +Define rvoc U+0C8B +Define Rvoc U+0CE0 +Define lvoc U+0C8C +Define Lvoc U+0CE1 +Define esvara U+0C8E +Define Esvara U+0C8F +Define aisvara U+0C90 +Define osvara U+0C92 +Define Osvara U+0C93 +Define ausvara U+0C94 + +Define Amatra U+0CBE +Define imatra U+0CBF +Define Imatra U+0CC0 +Define umatra U+0CC1 +Define Umatra U+0CC2 +Define rmatra U+0CC3 +Define Rmatra U+0CC4 +Define lmatra U+0CE2 +Define Lmatra U+0CE3 +Define ematra U+0CC6 +Define Ematra U+0CC7 +Define aimatra U+0CC8 +Define omatra U+0CCA +Define Omatra U+0CCB +Define aumatra U+0CCC + +Define ka U+0C95 +Define kha U+0C96 +Define ga U+0C97 +Define gha U+0C98 +Define Ga U+0C99 +Define cha U+0C9A +Define Cha U+0C9B +Define ja U+0C9C +Define jha U+0C9D +Define Ja U+0C9E +Define Ta U+0C9F +Define Tha U+0CA0 +Define Da U+0CA1 +Define Dha U+0CA2 +Define Na U+0CA3 +Define ta U+0CA4 +Define tha U+0CA5 +Define da U+0CA6 +Define dha U+0CA7 +Define na U+0CA8 +Define pa U+0CAA +Define pha U+0CAB +Define ba U+0CAC +Define bha U+0CAD +Define ma U+0CAE +Define ya U+0CAF +Define ra U+0CB0 +Define rra U+0CB1 +Define la U+0CB2 +Define va U+0CB5 +Define wa U+0CB5 +Define sha U+0CB6 +Define Sha U+0CB7 +Define sa U+0CB8 +Define ha U+0CB9 + +;Define hka U+0958 +;Define hkha U+0959 +;Define hga U+095A +;Define hja U+095B +;Define hDa U+095C +;Define hda U+095D +;Define hna U+0929 +;Define hpha U+095E +;Define hya U+095F +;Define hra U+0931 +;Define hla U+0934 + +Define rla U+0CB3 +;Define vstroke U+0951 +;Define hstroke U+0952 + +Define danda U+0964 +Define ddanda U+0965 +Define virama U+0CCD +Define avagraha U+0CBD +Define lcb U+007B +Define rcb U+007D + +;Define om U+0950 + + +pass(Unicode) + +a > asvara +a a > Asvara +A > Asvara +tlde A > Asvara +i > isvara +e e > Isvara +I > Isvara +u > usvara +o o > Usvara +U > Usvara +R u > rvoc +R U > Rvoc + +e > esvara +E > Esvara + +a i > aisvara +o > osvara +O > Osvara +a u > ausvara +o u > ausvara + +k > ka +k h > kha +K > kha +g > ga +g h > gha +G > gha +tlde g > Ga + +c > cha +c h > cha +C h > Cha +C > Cha +j > ja +J > jha +j h > jha +tlde j > Ja + +T > Ta +T h > Tha +D > Da +D h > Dha +N > Na + +t > ta +t h > tha +d > da +d h > dha +n > na + +p > pa +p h > pha +P > pha +b > ba +b h > bha +B > bha +m > ma + +y > ya +Y > ya +r > ra +R > ra +r x > rra +L x > rra +l > la +L > rla +v > va +w > wa +s h > sha +S > sha +S h > Sha +s > sa +h > ha +tlde h > ha +k S h > ka virama Sha +j tlde n > ja virama Ja + +dot > dot + +;A U M > om + + +;q > hka +;x > hkha +;dot g > hga +;dot z > hja +;f > hpha + +;svarita > vstroke +;anudatta > hstroke + +;L > rla +dot m > anunasika + +U+004D > anusvara +;a n > anusvara +dot n > anusvara +;N cret > anusvara +U+0048 > visarga +;dot a > avagraha +U+0026 > avagraha +U+002C > virama + +U+007C > danda +U+007C U+007C > ddanda + +;O M > om + +U+0030 > U+0CE6 ; Numerals +U+0031 > U+0CE7 +U+0032 > U+0CE8 +U+0033 > U+0CE9 +U+0034 > U+0CEA +U+0035 > U+0CEB +U+0036 > U+0CEC +U+0037 > U+0CED +U+0038 > U+0CEE +U+0039 > U+0CEF + +;; Second pass: converting vowels + a few simple rules +pass (Unicode) + +;; Classes +UniClass [vyanjana] = (ka .. ha rla rra) +UniClass [svara] = (Asvara isvara Isvara usvara Usvara rvoc Rvoc esvara Esvara aisvara \ + osvara Osvara ausvara) +UniClass [matra] = (Amatra imatra Imatra umatra Umatra rmatra Rmatra ematra Ematra \ + aimatra omatra Omatra aumatra) + +[vyanjana] [svara] <> [vyanjana] [matra] +danda danda <> ddanda + +;; Third pass: making conjuncts +pass (Unicode) + +;; Classes +UniClass [vyanjana] = (ka .. ha rla rra) + +[vyanjana]=v1 [vyanjana]=v2 <> @v1 virama @v2 + +;; Fourth pass: making remaining conjuncts (for groups of two or more consonants) +;; and adding viramas to the end of the words in Sanskrit +pass (Unicode) + +;; Classes +UniClass [vyanjana] = (ka .. ha rla rra) +UniClass [spacepunct] = (U+0009 .. U+0040 U+005B .. U+0060 U+007B .. U+007D danda ddanda \ + U+2013 U+2014 U+2018 U+2019 U+201C U+201D) + +[vyanjana]=v1 [vyanjana]=v2 <> @v1 virama @v2 +[vyanjana] / _ [spacepunct] <> [vyanjana] virama / _ [spacepunct] +[vyanjana] / _ # <> [vyanjana] virama / _ # + +;; Fifth pass: removing inherent "a" +pass (Unicode) + +;; Classes +UniClass [vyanjana] = (ka .. ha rla rra) + +[vyanjana] asvara <> [vyanjana] + + |