lucaargolo / lifts

A small minecraft mod that adds multiblock lifts to your worlds.
Mozilla Public License 2.0
2 stars 2 forks source link

Poor support for Asian characters in lift screens #26

Closed ChromaPIE closed 2 years ago

ChromaPIE commented 2 years ago

Tried localizing the mod to simplified chinese on my own instance, the screen successfully displayed everything but restricted by the font px it uses the characters displayed are barely readable. Here's a screenshot, from it can you see that many character strokes are diluented or even vanished: 473XM$887~YP`1RY8( KXR0

I believe it also happens on Japanese, Korean and so on. Would it be possible to fix this, like falling back to the default minecraft font when asian languages or stuff like that are detected?

lucaargolo commented 2 years ago

Huh, that's probably due to the low resolution of the screen (128x128). I'll see what I can do.

lucaargolo commented 2 years ago

Hello, sorry for taking too long to fix this, but I added a property in the config file called "screenScale". You can increase it to make high res fonts (Chinese, Korean, Japanese, etc) render correctly. Just beware that the screens will get more demanding to render the higher the value. Also, the values must be multiples of 2.