LanguagePatches / LanguagePatches-Framework

Framework that can be used to translate Kerbal Space Program
MIT License
2 stars 1 forks source link

Add a TMP_FontAsset loader and a size option in Translation. #6

Closed jiangtiandao closed 7 years ago

jiangtiandao commented 7 years ago

Main Menu looks terrible buttons turn to be too big to distinguish from each other after update. A peek at source find that Squad use TextMeshProButton3D instead of TextMeshButton3D in 1.2.2.1622 is the cause .Font in Main Menu also changes to a TMP_FontAsset named dotty SDF. . We need a TMP_FontAsset loader and add a size option in Translation.

StollD commented 7 years ago

Thats unfortunate, because TextMeshPro is not free for everyone to use, it costs money.

That means either we have to reverse engineer the format of the TMP Font assets, or we rebuild the menu scene using the Unity Fonts.

@jiangtiandao Thank you for your work. I cant see any errors in this, so I will merge it.