[XeTeX] Problem with Unicode 01F01B
Pander
pander at users.sourceforge.net
Tue Dec 18 15:49:30 CET 2012
On 2012-12-18 15:36, Khaled Hosny wrote:
> On Tue, Dec 18, 2012 at 12:37:14PM +0100, Pander wrote:
>> On 2012-12-18 12:18, Khaled Hosny wrote:
>>> On Tue, Dec 18, 2012 at 12:11:04PM +0100, Pander wrote:
>>>> On 2012-12-17 19:04, Khaled Hosny wrote:
>>>>> On Mon, Dec 17, 2012 at 06:47:19PM +0100, Pander wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> I am getting errors with XeLaTeX for Unicodes 01f01b up to 01f030.
>>>>>> Attached is a test that fails and results in:
>>>>>>
>>>>>> ** ERROR ** Type2 Charstring Parser: Parsing charstring failed:
>>>>>> (status=-2, stack=48)
>>>>>>
>>>>>> Output file removed.
>>>>>> )
>>>>>> Error 256 (driver return code) generating output;
>>>>>> file test.pdf may not be valid.
>>>>>>
>>>>>> Strange thing is that 01f01a is processed correctly and beyond 01f030
>>>>>> also. I have asked the maintainer of GNU FreeFonts to test this but he
>>>>>> cannot reproduce this problem. Can any of you?
>>>>>>
>>>>>> I am using latest TeX Live and latest GNU FreeFonts.
>>>>>
>>>>> Runs fine here, but this sounds like a font-related xdvipdfmx error.
>>>>>
>>>>> Try running:
>>>>>
>>>>> xelatex --no-pdf test
>>>>
>>>> xelatex --no-pdf test
>>>> This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
>>>> restricted \write18 enabled.
>>>> entering extended mode
>>>> (./test.tex
>>>> LaTeX2e <2011/06/27>
>>>> ...
>>>> [1] (./test.aux) )
>>>> Output written on test.xdv (1 page, 660 bytes).
>>>> Transcript written on test.log.
>>>>
>>>>> xdvipdfmx -v test
>>>>
>>>> xdvipdfmx -v test
>>>> <FONTMAP:pdftex.map><FONTMAP:kanjix.map><FONTMAP:ckx.map>
>>>> ** ERROR ** Could not open specified DVI (or XDV) file: test
>>>>
>>>> Output file removed.
>>>
>>> My bad, use
>>> 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)
>
> The FreeSerif.otf font has several issues, in this particular test file
> the circle3mahjong glyph has hstemhm hint command with 49 arguments,
> more than the 48 limit specified by Type 2 Charstring Format technote.
>
> If you run fontlint (from FontForge) on the font you get many warnings,
> like:
>
> 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.
Thanks for pinpointing it. I have forwarded it to the maintainer. I am
using the development version from SVN so when he fixes it, I will use
that directly.
>>> (note the extension, sorry I didn't realize that TL version does not
>>> auto-look for .xdv files).
>>
>> Feature request?
>
> The SVN version do already.
>
> Regards,
> Khaled
>
More information about the XeTeX
mailing list