mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
0b928509c7
This dotted circle (U+25CC) hack is needed to the device that runs API version 14 and 15. The device that runs API version 16 and 17 has an issue to draw incomplete successive combining code points of Hindi. The device that runs API version greater than 17 has no issue to draw incomplete Hindi combining letters. Bug: 6233945 Bug: 8344448 Change-Id: I22361da908ccca3ebad0beb32e7f69219e9160d6
60 lines
2.5 KiB
XML
60 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/*
|
|
**
|
|
** Copyright 2013, The Android Open Source Project
|
|
**
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
** you may not use this file except in compliance with the License.
|
|
** You may obtain a copy of the License at
|
|
**
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
|
**
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
** See the License for the specific language governing permissions and
|
|
** limitations under the License.
|
|
*/
|
|
-->
|
|
|
|
<!-- 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. -->
|
|
<merge
|
|
xmlns:latin="http://schemas.android.com/apk/res/com.android.inputmethod.latin"
|
|
>
|
|
<!-- U+094B: "ो" DEVANAGARI VOWEL SIGN O
|
|
U+094B/U+0902: "қं" DEVANAGARI VOWEL SIGN O/DEVANAGARI SIGN ANUSVARA
|
|
U+0949: "ॉ" DEVANAGARI VOWEL SIGN CANDRA O
|
|
U+094A: "ॊ" DEVANAGARI VOWEL SIGN SHORT O -->
|
|
<Key
|
|
latin:keyLabel="ो"
|
|
latin:moreKeys="ों,ॉ,ॊ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0947: "े" DEVANAGARI VOWEL SIGN E
|
|
U+0947/U+0902: "ें" DEVANAGARI VOWEL SIGN E/DEVANAGARI SIGN ANUSVARA -->
|
|
<Key
|
|
latin:keyLabel="े"
|
|
latin:moreKeys="ें"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+094D: "्" DEVANAGARI SIGN VIRAMA -->
|
|
<Key
|
|
latin:keyLabel="्"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+093F: "ि" DEVANAGARI VOWEL SIGN I
|
|
U+093F/U+0902: "िं" DEVANAGARI VOWEL SIGN I/DEVANAGARI SIGN ANUSVARA -->
|
|
<Key
|
|
latin:keyLabel="ि"
|
|
latin:moreKeys="िं"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
<!-- U+0941: "ु" DEVANAGARI VOWEL SIGN U
|
|
U+0941/U+0902: "ुं" DEVANAGARI VOWEL SIGN U/DEVANAGARI SIGN ANUSVARA
|
|
U+0941/U+0901: "ुँ" DEVANAGARI VOWEL SIGN U/DEVANAGARI SIGN CANDRABINDU -->
|
|
<Key
|
|
latin:keyLabel="ु"
|
|
latin:moreKeys="ुं,ुँ"
|
|
latin:keyLabelFlags="fontNormal" />
|
|
</merge>
|