Thai language support (SOLVED)

Again me and thai font problems:
I have the next string: “ฮ่า ฮ่ า ! นายไม่คิดว่า”

This text in editor:
40

This text in desktop build (MacOS):

This text in android build (iOS the same):
31

What the reason for different rendering font between desktop and mobile builds?
Width of the chars seems setup correctly in .ttf file

I know, the problem is in single font char “ฮ”, but different rendering make me sad :slight_smile:
Trying to find what is wrong.

Update: ok, I solved it by remake this single char in TTF font, for now I have correct rendering at mobile. Can’t say what was wrong with character

2 Likes

The code is the same if you use bob.jar (which we use to bundle an app, and also to build HTML5)
However, if you build-and-run from the editor, it uses its own build pipeline for fonts.
If that indeed makes the fonts differ, it’s entirely unintentional. The issue might be a different java package of something in our code.

1 Like