some glyphs display wrong
tailangjun opened this issue · comments
I just merged #31 which updated stb_truetype
. Can you try the latest first?
I just updated to the latest version, the effect is the same.
Do you know a way to get access to those fonts? Looks like they are iOS fonts, but I'm unable to locate download for them.
iOS sandbox prevents access to system's ttf. so I use a memFont, which parsing from CGFont. You can try this ttf file, the effect is the same.
PingFang-Regular.ttf.zip
adtional, freetype2 and stb_truetype has the same effect.
Thanks for the font, I'll take a look. Since HelvetivaNeue is working ok, you are probably using UTF-8 for the string correctly.
I don't think the PingFang font has that glyph.
You can use for example this tool to check which glyphs are in the font: http://bluejamesbond.github.io/CharacterMap/