mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 05:39:53 +01:00
Added DroidSansFallback font for platforms without CJK fonts installed.
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
<target name='compile'>
|
<target name='compile'>
|
||||||
<mkdir dir='build'/>
|
<mkdir dir='build'/>
|
||||||
<javac srcdir='net/sf/briar' destdir='build' source='1.5'
|
<javac srcdir='net/sf/briar' destdir='build' source='1.5'
|
||||||
includeantruntime='false'>
|
includeantruntime='false' debug='on'>
|
||||||
<classpath>
|
<classpath>
|
||||||
<fileset refid='bundled-jars'/>
|
<fileset refid='bundled-jars'/>
|
||||||
<fileset refid='test-jars'/>
|
<fileset refid='test-jars'/>
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ public class FontManagerImpl implements FontManager {
|
|||||||
new BundledFont("TibetanMachineUni.ttf", 14f, new String[] { "bo" }),
|
new BundledFont("TibetanMachineUni.ttf", 14f, new String[] { "bo" }),
|
||||||
// Use Padauk for Burmese
|
// Use Padauk for Burmese
|
||||||
new BundledFont("Padauk.ttf", 14f, new String[] { "my" }),
|
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
|
// 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