Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1ec134d authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Clean up Devanagari key definitions

Change-Id: I42210a0bb974f7186fde35f4c8022b0c8603ab8d
parent fcc6ab08
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@

<!-- The code point U+25CC for key label is needed because the font rendering system prior to
     API version 16 can't automatically render dotted circle for incomplete combining letter
     of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
     of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
+18 −2
Original line number Diff line number Diff line
@@ -20,13 +20,29 @@

<!-- The code point U+25CC for key label is needed because the font rendering system prior to
     API version 16 can't automatically render dotted circle for incomplete combining letter
     of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
     of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
    <switch>
        <case
            latin:keyboardLayoutSet="hindi"
        >
            <!-- U+0901: "ँ" DEVANAGARI SIGN CANDRABINDU
                 U+0945: "ॅ" DEVANAGARI VOWEL SIGN CANDRA E -->
            <key-style
                latin:styleName="moreKeysDevanagariSignCandrabindu"
                latin:moreKeys="&#x0945;" />
        </case>
        <default>
             <key-style
                latin:styleName="moreKeysDevanagariSignCandrabindu" />
        </default>
    </switch>
    <!-- U+0901: "ँ" DEVANAGARI SIGN CANDRABINDU -->
    <Key
        latin:keyStyle="moreKeysDevanagariSignCandrabindu"
        latin:keyLabel="&#x0901;"
        latin:keyLabelFlags="fontNormal" />
</merge>
+20 −7
Original line number Diff line number Diff line
@@ -20,17 +20,30 @@

<!-- The code point U+25CC for key label is needed because the font rendering system prior to
     API version 16 can't automatically render dotted circle for incomplete combining letter
     of Hindi. The files named res/xml/{key,keys}_hindi*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/{key,keys}_hindi*.xml don't have this hack. -->
     of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
    <!-- U+093C: "़" DEVANAGARI SIGN NUKTA
         U+097D: "ॽ" DEVANAGARI LETTER GLOTTAL STOP
    <switch>
        <case
            latin:keyboardLayoutSet="hindi"
        >
            <!-- U+097D: "ॽ" DEVANAGARI LETTER GLOTTAL STOP
                 U+0970: "॰" DEVANAGARI ABBREVIATION SIGN
                 U+093D: "ऽ" DEVANAGARI SIGN AVAGRAHA -->
             <key-style
                latin:styleName="moreKeysDevanagariSignNukta"
                latin:moreKeys="&#x097D;,&#x0970;,&#x093D;" />
        </case>
        <default>
             <key-style
                latin:styleName="moreKeysDevanagariSignNukta" />
        </default>
    </switch>
    <!-- U+093C: "़" DEVANAGARI SIGN NUKTA -->
    <Key
        latin:keyStyle="moreKeysDevanagariSignNukta"
        latin:keyLabel="&#x093C;"
        latin:moreKeys="&#x097D;,&#x0970;,&#x093D;"
        latin:keyLabelFlags="fontNormal" />
</merge>
+2 −2
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@

<!-- The code point U+25CC for key label is needed because the font rendering system prior to
     API version 16 can't automatically render dotted circle for incomplete combining letter
     of Hindi. The files named res/xml/{key,keys}_nepali*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/{key,keys}_nepali*.xml don't have this hack. -->
     of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
+2 −2
Original line number Diff line number Diff line
@@ -20,8 +20,8 @@

<!-- The code point U+25CC for key label is needed because the font rendering system prior to
     API version 16 can't automatically render dotted circle for incomplete combining letter
     of Hindi. The files named res/xml/{key,keys}_hindi*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/{key,keys}_hindi*.xml don't have this hack. -->
     of some scripts. The files named res/xml/key_*.xml have this U+25CC hack, although the
     counterpart files named res/xml-v16/key_*.xml don't have this hack. -->
<merge
    xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
>
Loading