all devices regression report - 2019-03-18-13:44:38 - 33414cb5930ee715a23b75eb37e919b6f15f96c0
[email protected] Mon, 18 Mar 2019 13:44:38 -0700 (PDT)
| Newsgroups | gmane.comp.printing.ghostscript.regression |
|---|---|
| Message-ID | <20190318204438.AEF2D2040A6B@i7> |
Differences in all devices errors using gs/examples files Previous Revision: b4e343d201e337478973824995c0bbc25955b36e Current Revision: 33414cb5930ee715a23b75eb37e919b6f15f96c0 commit 33414cb5930ee715a23b75eb37e919b6f15f96c0 Author: Ken Sharp <[email protected]> AuthorDate: Mon Mar 18 19:30:43 2019 +0000 CommitDate: Mon Mar 18 19:30:43 2019 +0000 PDF interpreter - check the type of the Info dictionary before use Bug #700820 " GPL Ghostscript 9.26: Unrecoverable error, exit code 1" The problem here is that the trailer dictionary has an entry for the /Info dictionary, but the object it poitns to is not a dictionary. For most purposes this doesn't matter, but when the devce is pdfwrite we try to maintain the information in that dictionary. This commit tests the type of the object referenced by the key in the trailer dictionary and if the object isn't a dictionary we don't try to use it. We do flag an error though. Resource/Init/pdf_main.ps new errors: === ghostpdl/examples/annots.pdf === eps2write === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. === ghostpdl/examples/annots.pdf === pdfwrite === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. === ghostpdl/examples/annots.pdf === ps2write === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === eps2write === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === pdfwrite === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === ps2write === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. === ghostpdl/examples/text_graphic_image.pdf === eps2write === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. === ghostpdl/examples/text_graphic_image.pdf === pdfwrite === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. === ghostpdl/examples/text_graphic_image.pdf === ps2write === **** Error: The Info dictionary is not a dictionary, Info will not be preserved. errors that went away: errors that are not whitelisted: === ghostpdl/examples/annots.pdf === eps2write === === ghostpdl/examples/annots.pdf === pdfwrite === === ghostpdl/examples/annots.pdf === ps2write === === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === eps2write === === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === pdfwrite === === ghostpdl/examples/text_graph_image_cmyk_rgb.pdf === ps2write === === ghostpdl/examples/text_graphic_image.pdf === eps2write === === ghostpdl/examples/text_graphic_image.pdf === pdfwrite === === ghostpdl/examples/text_graphic_image.pdf === ps2write ===