-
-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG that Khmer language displays incorrectly using ttf text #2249
Comments
Can you please show screenshots of actual and expected output? Also, are you able to provide the TTF font file that you use for the Khmer text? |
OK, wait a minute. |
This is the Khmer ttf file our app uses: |
Yes, it will display correctly when using system characters, but will display incorrectly when using ttf characters. |
After looking into this, and as a complete guess, the problem may be in Also, the text that reproduces the issue can be narrowed down to the following: The problem could also be that the generated font atlas has bitmaps of the individual letters that would be combined to make up that glyph, but once they are in the font atlas, they look nothing like what they should be when combined together. So, the rendering code is attempting to create a single |
The framework displays Khmer TTF text content incorrectly. The text content pattern displayed is different from the original text content pattern that needs to be displayed, and the Khmer TTF text content is easily triggered
AXLOG("LabelTextFormatter error: can't find letter definition in font file for letter: 0x%x",character);
The text was updated successfully, but these errors were encountered: