mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
+ Add Khmer alphabet support to the UI
This commit is contained in:
parent
73d667c2d9
commit
82419359dc
BIN
assets/fonts/KhmerOS.ttf
Normal file
BIN
assets/fonts/KhmerOS.ttf
Normal file
Binary file not shown.
@ -253,6 +253,7 @@ public class LanguageUtils {
|
||||
// Define the exceptions to the rule. The font has to be placed in the assets folder.
|
||||
// Key: the language code; Value: the name of the font.
|
||||
HashMap<String, String> exceptions = new HashMap<String, String>();
|
||||
exceptions.put("km", "fonts/KhmerOS.ttf");
|
||||
exceptions.put("gu", "fonts/Lohit-Gujarati.ttf");
|
||||
exceptions.put("my", "fonts/Parabaik.ttf");
|
||||
exceptions.put("or", "fonts/Lohit-Odia.ttf");
|
||||
|
Loading…
x
Reference in New Issue
Block a user