Summary: | handle PDF files without a mediabox | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Ralph Giles <ralph.giles> |
Component: | PDF Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | NOTIFIED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | 8.54 | ||
Hardware: | PC | ||
OS: | All | ||
Customer: | 581 | Word Size: | --- |
Attachments: | patch |
Description
Ralph Giles
2006-06-26 21:20:43 UTC
Created attachment 2306 [details] 02277430A.pdf Note: The file works with 8.00 but not 8.11. Customer suggested just using /PageSize from the currrentpagedevice dict if the /MediaBox pget fails. we'll do this. Ralph, I want this bug because it affects the same parts of the code as bug 688744, which is already assigned to me. The proposed patch for the bug 688744 assumes that /MediaBox is always present. Probably, the patch should be modified to fix both bugs. Fine by me. The fix is straightforward. Created attachment 2319 [details] patch Use /PageSize from the currrent page device dictionary when the /MediaBox pget fails. DIFFERENCES: Testing now. The fix for the bug 688744 will be updated after this fix is committed. There's no significant differences. Insignificant differences are: 409-01.ps - different order of file enumeration 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. Patch is approved, please commit. The patch is committed as revision 6893. |