Sun 23 Dec 2012 11:04:03 AM UTC, comment #5:
Pander,
I finally reproduced the fontlint output with this copy, using either of my builds of fontlint.
On removing the hints from the file, the complaints about stack overflows stop. Since hinting is not specified in the sources, and is applied in the build process by fontforge, I conclude this isn't a FreeFont bug. Indeed, as 'mskala' pointed out in the XeTeX list, a patch for this very bug is available.
(There is a complaint about a bad BlueScale entry -- should look into that. The BlueScale value is the one "guessed" but fontforge, so I don't know why fontlint would complain...)
(Another possibly related warning was reported in that discussion, about
"circle3mahjong glyph has hstemhm hint command with 49 arguments,"
but the reporter declined to say where they saw the warning, and it doesn't appear in fontlint...)
Thanks!
|
Thu 20 Dec 2012 11:38:51 PM UTC, comment #3:
This was reported on the XeTeX mailing list
http://tug.org/pipermail/xetex/2012-December/023879.html
As you noted, the primary problem appears to be a caused by hinting bug in fontforge, which has since been patched.
I still have some doubts about some of the other issues raised in that discussion -- namely the "stackgottoobig" warnings from fontlint... I don't see those, but I know I used to a couple of years ago, before I cleaned the glyphs up.
I would like some clarity on just which versions of FreeSerif and fontlint produced this output. This was not stated explicitly in the postings.
|
Tue 18 Dec 2012 08:10:41 PM UTC, original submission:
Glyps '1F01B', '1F01C', '1F01D', '1F01E', '1F01F', '1F020', '1F021', '1F022', '1F023', '1F023', '1F024' and '1F025' cause an error in TeXLive 2012 XeLaTeX and prevent generation of PDf file. When investigating what the problem is, the follownig is reported:
xelatex --no-pdf test
xdvipdfmx -v test.xdv
"/usr/local/texlive/2012/texmf-dist/fonts/opentype/public/gnu-freefont/FreeSerif.otf"...
- ERROR ** Type2 Charstring Parser: Parsing charstring failed:
(status=-2, stack=48)
According to fontlint in fontforge the following is reported:
Stack got too big in circle3mahjong
Stack got too big in circle5mahjong
Stack got too big in circle6mahjong
Stack got too big in circle7mahjong
Stack got too big in circle8mahjong
Stack got too big in circle9mahjong
Stack got too big in chrysantemummahjong
Stack got too big in mj_circle7_hi
In FreeSerif, in glyph circle3mahjong, 'CFF ' advance width (0) and 'hmtx' width (795) do not match.
|