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

@@ -25,7 +25,7 @@
<target name='compile'>
<mkdir dir='build'/>
<javac srcdir='net/sf/briar' destdir='build' source='1.5'
includeantruntime='false'>
includeantruntime='false' debug='on'>
<classpath>
<fileset refid='bundled-jars'/>
<fileset refid='test-jars'/>

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

BIN
i18n/DroidSansFallback.ttf Normal file

Binary file not shown.