v0.7.5b: fixed the leaving early text failing to show up
This commit is contained in:
parent
7b23fa1a31
commit
bdb74bc836
|
@ -249,6 +249,10 @@ public class AndroidPlatformSupport extends PlatformSupport {
|
||||||
//Chinese font generators
|
//Chinese font generators
|
||||||
if (Gdx.files.absolute("/system/fonts/NotoSansSC-Regular.otf").exists()){
|
if (Gdx.files.absolute("/system/fonts/NotoSansSC-Regular.otf").exists()){
|
||||||
SCFontGenerator = new FreeTypeFontGenerator(Gdx.files.absolute("/system/fonts/NotoSansSC-Regular.otf"));
|
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
|
//Japaneses font generators
|
||||||
|
|
Loading…
Reference in New Issue
Block a user