-
Notifications
You must be signed in to change notification settings - Fork 88
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
some glyphs display wrong #32
Comments
I just merged #31 which updated |
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. |
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/ |
I use fontstash to draw a str = @"i:ə:ɔ:u:ɑ:i:ɜ:ɔ:u:ɑ:iɜɔuɑ", the glyph of "ɜ" display wrong.
use "PingFangSC-Regular"
use "SFUIText-Light"
use "HelveticaNeue"
addtional, I suggest updating stb_trunetype to the latest version in order to support OpenType format, which internal use of the CCF table.
The text was updated successfully, but these errors were encountered: