mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-20 17:32:57 +07:00
Chinese font should now be loaded properly
This commit is contained in:
parent
b3c79ec299
commit
afbd2ad21b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user