Glyph quality?
0xDC00 opened this issue · comments
Glyph rendered, not good as Hiero (freetype).
Please take a look,
Chars: Ẳ Ầ Ặ Ẫ Ấ Ắ
fontbm vs bmfont
Baseline still not correct (char: g): #8
@0xDC00 can you share the arial.ttf and the command line used for generate the font (can't reproduce on my arial.ttf).
arial.ttf: https://drive.google.com/file/d/17DUIDIneeQRCj_daqJEZjqZGz0Cyg0TI/view?usp=sharing
command: fontbm --font-size 48 --texture-width 512 --texture-height 384 --data-format txt --include-kerning-pairs --chars-file "chars.txt" --font-file arial.ttf --output arial
chars.txt: A Á Â Ấ Ắ Ễ Ỗ
Sorry for the late reply, please check.
I've got it, hiero (and also SFML) uses FT_LOAD_FORCE_AUTOHINT flag to force FreeType hinting module instead font's native hinter (which produces not so good result in our case).
I've added the same flag to last Release, it should fix the issue.
Look better now, thanks.