mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Added DroidSansFallback font for platforms without CJK fonts installed.
This commit is contained in:
@@ -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'/>
|
||||
|
||||
@@ -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
BIN
i18n/DroidSansFallback.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user