VM Computers

VM Computers

156k Downloads

Ordering Tablet GUI can't show non-English (Latin) characters

eason329 opened this issue ยท 3 comments

commented

I will create a seperate issue for the Tablet. Still, thank you for the translation!
~ said by Delta2Force in #81

Maybe he forgot to create the issue and the bug still exists, so I create it now.

Before I explain the issue, please be reminded that only purchasable items are translatable in Ordering Tablet GUI.

Issue

If purchasable items in Ordering Tablet GUI (TabletOS) is translated to any language that contain non-English alphabet/character like Chinese, the items in the store is just a blank (unknown) characters, since they are not included in the font ttf file.
Tablet GUI with non-English characters

commented

Ahh sorry I forgot to do it lol

commented

but ofc, I made a workaround for this issue.
https://github.com/AobiYT/MCVmComputers/blob/patch-unicode/src/main/resources/assets/mcvmcomputers/font/tabletfont.ttf

This maybe the easiest way to solve this issue without rewriting the code.
For the source of unicode font, click here.

(The unicode font has been modified. Since it is licensed under GPLv2, so I don't think there's problem using it l o l)

commented

@eason329 it should be okay now, I used that font file and now non-English characters work fine.