You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using some Chinese fonts and it seems the bitmap fonts generated by the FreeTypeFontGenerator will have missing characters with certain FreeTypeFontParameter settings . I will show some examples below.
IMG01 [test_font.ttf, font size 16, border width 2] Looks good.
IMG02 [test_font.ttf, font size 24, border width 3] Characters missing.
IMG03 [microsoft_yahei_bold.ttf, font size 24, border width 3] Switched to a more promising Microsoft font and the situation seems to become worse.
Note: The characters.txt file includes some Chinese characters and punctuation which I need to use in my game. You can find the example project here.
Version of LibGDX and/or relevant dependencies
1.9.3
Please select the affected platforms
Only tested on android and windows.
Android
iOS (robovm)
iOS (MOE)
HTML/GWT
Windows
Linux
MacOS
The text was updated successfully, but these errors were encountered:
toyknight
changed the title
Fonts generated by FreeTypeFontGenerator missing characters with certain font parameter settings.
Fonts generated by FreeTypeFontGenerator have missing characters with certain font parameter settings.
Jul 18, 2016
Issue details
I am using some Chinese fonts and it seems the bitmap fonts generated by the
FreeTypeFontGenerator
will have missing characters with certainFreeTypeFontParameter
settings . I will show some examples below.IMG01 [test_font.ttf, font size 16, border width 2] Looks good.
IMG02 [test_font.ttf, font size 24, border width 3] Characters missing.
IMG03 [microsoft_yahei_bold.ttf, font size 24, border width 3] Switched to a more promising Microsoft font and the situation seems to become worse.
Reproduction steps/code
Core codes for IMG02:
Note: The
characters.txt
file includes some Chinese characters and punctuation which I need to use in my game.You can find the example project here.
Version of LibGDX and/or relevant dependencies
1.9.3
Please select the affected platforms
Only tested on android and windows.
The text was updated successfully, but these errors were encountered: