bugFree UCS Outline Fonts - Bugs: bug #37953, XeLaTeX has problem via XDV for...

 
 

bug #37953: XeLaTeX has problem via XDV for glyphs 1F01B / 1F025

Submitted by:  Pander <pander>
Submitted on:  Tue 18 Dec 2012 08:10:41 PM UTC  
 
Category: individual character(s)Severity: 3 - Normal
Item Group: glyph(s) incorrectStatus: Non-bug
Privacy: PublicAssigned to: Steve White <Stevan_White>
Open/Closed: ClosedRelease: development

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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!

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Sat 22 Dec 2012 01:36:30 PM UTC, comment #4:

Hi Pander,

Could you please attach the font file which showed the problem?

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
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.

Steve White <Stevan_White>
Project AdministratorIn charge of this item.
Wed 19 Dec 2012 05:54:35 PM UTC, comment #2:

This problem disappears when the OTF files are build with fontforge version 20120731. This bug can be closed.

Pander <pander>
Tue 18 Dec 2012 08:13:07 PM UTC, comment #1:

Apperently circle3mahjong glyph has hstemhm hint command with 49 arguments, more than the 48 limit specified by Type 2 Charstring Format technote.

Pander <pander>
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.

Pander <pander>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #27138:  FreeSerif.otf.xz added by pander (916KiB - application/x-xz)
file #27122:  test.tex added by pander (178B - text/x-tex)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by Stevan_White (Posted a comment)
  • -unavailable- added by pander (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 23 Dec 2012 11:04:03 AM UTCStevan_WhiteStatusNeed info=>Non-bug
      Open/ClosedOpen=>Closed
    Sat 22 Dec 2012 02:28:37 PM UTCpanderAttached File-=>Added FreeSerif.otf.xz, #27138
    Thu 20 Dec 2012 11:38:51 PM UTCStevan_WhiteStatusNone=>Need info
      Assigned toNone=>Stevan_White
    Tue 18 Dec 2012 08:10:41 PM UTCpanderAttached File-=>Added test.tex, #27122

    Back to the top


    Powered by Savane 3.1-cleanup1