From afbd2ad21b88a632c0b19d3d90a4545cc070bae4 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 14 Dec 2018 12:44:47 +0200 Subject: [PATCH] Chinese font should now be loaded properly --- core/src/com/unciv/ui/utils/Fonts.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/com/unciv/ui/utils/Fonts.kt b/core/src/com/unciv/ui/utils/Fonts.kt index 395bbb3f7a..b5b0e682fb 100644 --- a/core/src/com/unciv/ui/utils/Fonts.kt +++ b/core/src/com/unciv/ui/utils/Fonts.kt @@ -86,7 +86,7 @@ class Fonts { else { val localPath = "fonts/$fontForLanguage.ttf" if(!containsFont(fontForLanguage)) downloadFontForLanguage(language) - generator = FreeTypeFontGenerator(Gdx.files.internal(localPath)) + generator = FreeTypeFontGenerator(Gdx.files.local(localPath)) } val parameter = FreeTypeFontGenerator.FreeTypeFontParameter()