Summary: | gs 8.14 or later gets segv when it tries to render the 2nd page of the Japanese PS w/ Japanese TrueType fonts | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Masayuki Hatta <mhatta> |
Component: | Font API | Assignee: | Ray Johnston <ray.johnston> |
Status: | NOTIFIED FIXED | ||
Severity: | critical | CC: | gsview, ralph.giles |
Priority: | P2 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: |
Sample Japanese PS
Sample cidfmap |
Description
Masayuki Hatta
2004-05-08 09:05:18 UTC
We'll need a sample file in order to reproduce this. Please attach one here. Created attachment 660 [details]
Sample Japanese PS
A sample Japanese PS file (11 pages long). GNU GS 7.07 and ESP GS 7.07.1 can
handle it (GPL GS 8.01 doesn't have any CJK TTF support, so it can't), but
AFPL GS 8.14 or CVS HEAD (pre 8.30) can only render the 1st page and gets SEGV
when it tries to render the 2nd.
Created attachment 661 [details]
Sample cidfmap
Here's a sample cidfmap I'm using.
OK, I submitted sample files. Do you also need Japanese TrueType fonts? I can lend them if you need. Anyway, looks like garbage collecting got corrupted at somewhere... I can reproduce this on Windows with CVS HEAD (just after 8.32 release) compiled with MSVC++ 6. I get the same stack trace as mhatta. Using -Z$@? will cause it to crash earlier during a restore. Lots of problems turned up with this. I've fixed them now and will commit after a regression run (since the changes were rather widely dispersed in the font machinery). OK. I've developed the fix(es) for this. There were several problems, in layers, that I had to address. The patch is described in the CVS commit: http://ghostscript.com/pipermail/gs-cvs/2004-November/005016.html I did run regression tests, but please let me know of any problems. |