[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] FreeType cannot open face 0 for this font (Re: Freetype-devel
From: |
Hin-Tak Leung |
Subject: |
[ft-devel] FreeType cannot open face 0 for this font (Re: Freetype-devel Digest, Vol 144, Issue 9) |
Date: |
Sun, 15 Jan 2017 01:41:44 +0000 (UTC) |
BTW, you never mentioned what version of freetype you are using for testing.
FontVal 2.0 has a backend based on Freetype 2.6.4. The backend is used for
analysing hdmx/ltsh/vdmx tables as well as hinting instructions, but the rest
is independent and may tell you other things about flaws in the font. While it
is not the latest, it may be more recent than yours. windows build and mac
build:
https://sourceforge.net/projects/hp-pxl-jetready/files/Microsoft%20Font%20Validator/FontVal-2.0.0-py-bin-net4.zip
https://sourceforge.net/projects/hp-pxl-jetready/files/Microsoft%20Font%20Validator/FontVal-2.0.0-py.dmg
The latest pub dev is based on 2.7.0 and at
https://github.com/HinTak/Font-Validator
if you can build from source; grabbing and just replacing the windows dlls from
https://github.com/HinTak/Font-Validator/tree/master/bin/ to update the 2.0
release should work too. There is no plan to update the pub dev beyond that, as
the latest private dev has some interface change which affects the rest of
FontVal. I don't want to go backward just to build a more up-to-date backend.
I have never managed to download from the qq.com urls - it is either cookie
error with batch download tool or file not found with firefox/icecat. So
dropbox or whatever is probably preferred. (or even pan.baidu). OTOH,
https://github.com/HinTak/Font-Validator/issues/ allows you to upload test file
attachments - I don't know of the size limit - as long as you have a github id.
One day I'd like to figure out the qq.com failure.
Message: 1
Date: Thu, 12 Jan 2017 13:50:52 +0800
From: "=?gb18030?B?j4i/odal?=" <address@hidden>
To: "=?gb18030?B?ZnJlZXR5cGUtZGV2ZWw=?="
<address@hidden>
Subject: [ft-devel] FreeType cannot open face 0 for this
font
Message-ID: <address@hidden>
Content-Type: text/plain; charset="gb18030"
Hello, team!
FreeType cannot open face 0 for this font, error 8 is
returned, but face -1 is fine. Both FontForge, Windows font
viewer and Mac font viewer open the font successfully
without warning. although Fontforge prompts a warning saying
"Font file has bad glyph count field. maxp says 65535
sizeof(loca)=>78419", but the glyphs are viewable. I am
not sure whether the warning has something to do with
FreeType's failure to open the font. Please check it.
Thank you!
?QQ?????????
HYSuperSCJK.ttf (55.88M, 2017?02?11? 13:43
??)???????http://mail.qq.com/cgi-bin/ftnExs_download?t=exs_ftn_download&k=75623036358db79860f4db2e1f63044b055a05060b0655561c0755030a4e020602511d0f0d550449575609500852035005045401396c362c683145465c1165277b291e424d053659&code=1b069c6d
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ft-devel] FreeType cannot open face 0 for this font (Re: Freetype-devel Digest, Vol 144, Issue 9),
Hin-Tak Leung <=