Added DroidSansFallback font for platforms without CJK fonts installed.

This commit is contained in:
akwizgran
2011-07-15 04:36:16 -04:00
committed by root
parent 4d8641e590
commit e8fd3ab7a3
3 changed files with 3 additions and 1 deletions

View File

@@ -35,6 +35,8 @@ public class FontManagerImpl implements FontManager {
new BundledFont("TibetanMachineUni.ttf", 14f, new String[] { "bo" }),
// Use Padauk for Burmese
new BundledFont("Padauk.ttf", 14f, new String[] { "my" }),
// Use DroidSansFallback for Chinese, Japanese and Korean
new BundledFont("DroidSansFallback.ttf", 12f, new String[] { "zh" , "ja", "ko" }),
};
// Map from languages to fonts