i have to report a error which occurs since Ghostscript 8.63 when using the /ReusablestreamDecode filter. If you read in a file through this filter and execute it, during the execution bytes are missing and leads to postscript errors. It seems that the bytes are missing on 1024 Byte boundaries. Attached to this mail you can find two testfiles. The file gs_reusable_test2.ps can be executed via the ghostscript command "gs gs_reusable_test2.ps". This file opens and converts the file gs_reusable_data.ps in a reusable stream and executes it. Please adjust the file path for your needs. The file produces a undefined error, because a operator name is destroyed because of a missing byte. Inserting or removing a spaces at the beginning of gs_reusable_data.ps leads to other errors or let the file run without errors if you are lucky. The error can be removed, if the new "Array of Strings" mode in gs_frsd.ps is changed to the old Implementation of Ghostscript 8.62. How to test: Modify the gs_reusable_test2.ps so that is points to the correct location of where the gs_reusable_data.ps is. Then: gs gs_reusable_test2.ps
Created attachment 4459 [details] gs_reusable_test2.ps testfile that reads in a second postscript file.
Created attachment 4460 [details] gs_reusable_data.ps postscript file read in by the gs_reusable_test2.ps
*** This bug has been marked as a duplicate of 690090 ***
Changing customer bugs that have been resolved more than a year ago to closed.