Summary: | Trouble rendering a particular PDF file. | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Jo Yu <jo> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P4 | ||
Version: | 8.64 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Customer: | Word Size: | --- | |
Attachments: | 200907-page2.pdf |
Description
Jo Yu
2009-07-16 23:38:56 UTC
Created attachment 5216 [details]
200907-page2.pdf
For future reference, please attach files here, please also state the command
line being used so that we can reproduce it. It would be helpful to post the
smallest possible file to ease the problem of debugging.
Alex, I've attached a reduced file. On a quick inspection the problem seems to
be that we are (for reasons unknown to me) reading off the end of the W2 array
for the font JWYDDQ+DFNMing-XB-HKP-BF, object [47 0] in this reduced file. The
W2 array has 35 entries (0-34) and we are trying to access entry 35, causing a
rangecheck error.
The commands ARE stated in my previous post. And sorry, I didnt know you can attach documents in messages. Fix processing of numeric entry in /W2 array. Old code handled it as a numeric entry in /W array causing misalignment by 2 positions per element. The following patch has been committed as a rev. 9866. http://ghostscript.com/pipermail/gs-cvs/2009-July/009563.html Regression testing shows no differences because our test suite has no files that exercise numeric /W2 elements.The sample file would be a good addition to the test suite. |