From bdb74bc836e4bc2bd2e9b8a4bf008ee6c4d4a08a Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 14 Oct 2019 11:35:34 -0400 Subject: [PATCH] v0.7.5b: fixed the leaving early text failing to show up --- .../shatteredpixeldungeon/android/AndroidPlatformSupport.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/src/main/java/com/shatteredpixel/shatteredpixeldungeon/android/AndroidPlatformSupport.java b/android/src/main/java/com/shatteredpixel/shatteredpixeldungeon/android/AndroidPlatformSupport.java index fd286ff05..abc6fd24b 100644 --- a/android/src/main/java/com/shatteredpixel/shatteredpixeldungeon/android/AndroidPlatformSupport.java +++ b/android/src/main/java/com/shatteredpixel/shatteredpixeldungeon/android/AndroidPlatformSupport.java @@ -249,6 +249,10 @@ public class AndroidPlatformSupport extends PlatformSupport { //Chinese font generators if (Gdx.files.absolute("/system/fonts/NotoSansSC-Regular.otf").exists()){ SCFontGenerator = new FreeTypeFontGenerator(Gdx.files.absolute("/system/fonts/NotoSansSC-Regular.otf")); + } else if (Gdx.files.absolute("/system/fonts/NotoSansHans-Regular.otf").exists()){ + //TODO this seems to also have a lot of JP characters. + // Might be cases where this font shows up and NotoSansJP is mostly empty =S + SCFontGenerator = new FreeTypeFontGenerator(Gdx.files.absolute("/system/fonts/NotoSansHans-Regular.otf")); } //Japaneses font generators