Summary: | /rangecheck in --string-- | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Tor Andersson <tor.andersson> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | master | ||
Hardware: | Macintosh | ||
OS: | MacOS X | ||
Customer: | 562 | Word Size: | --- |
Attachments: | patch |
Description
Tor Andersson
2006-05-04 04:31:18 UTC
Created attachment 2187 [details]
svc_12
cmap table in a Korean font exceeds 64 K limit. Reading the cmap table as a big table helps but the rest of the ttf interpreter seems to assume that cmap is a short. Perhaps, this code is not exercised in this case. Created attachment 2324 [details]
patch
Modify cmap table handling routines to support a large ( >= 64K ) table
represented as an array of strings.
DIFFERENCES:
Testing now.
No difference is expected in the regression testing Local testing shows the following insignificant differences: 409-01.ps - different order of file enumeration in .svn directory reflected in the raster 215-01.ps - different order of file enumeration in stdout only Bug687615.ps - different order of dictionary enumeration in stdout only. Multiple differences in generated PDF files in Type1C streams. Reviewing the patch 2324, I've got a question : isn't it simple to replace the string with a stream based on SubFileDecode ? Are you sure that comment #4 is correct ? It looks same as for bug 688744, and I wonder why so. > I've got a question : isn't it simple to replace the string with a stream
> based on SubFileDecode ?
I spent a day trying to use /SubFileDecode but didn't succeed.
For instance, the file doesn't support "getinterval" operation and
requires copying. Positioning the file before every reading is not attractive
but changing the logic to reduce seeking is hard.
Yes, the differences are the same as before.
I think the patch is acceptable. Please commit. The patch is committed as revision 6896. |