Use immutable collections for thread safety.

This commit is contained in:
akwizgran
2011-11-29 11:01:09 +00:00
parent 42430272f4
commit 7bf2ee64a8
15 changed files with 62 additions and 46 deletions

View File

@@ -35,7 +35,8 @@ public class FontManagerImpl implements FontManager {
// 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" }),
new BundledFont("DroidSansFallback.ttf", 12f,
new String[] { "zh" , "ja", "ko" })
};
// Map from languages to fonts