When converting the following files using ps2write the PostScript that is produced cannot be read by Ghostscript (the errors vary from file to file, I can attach a list of error messages if it is helpful): tests__pdf__Bug6901014_Additional_testcase.pdf tests__pdf__Bug6901014_Fourth_crash_signature_testcase.pdf tests__pdf__Bug6901014_SMP_Warwick_14.pdf tests__pdf__singular_ctm_3_tr_mode.pdf tests_private__comparefiles__Bug687797.pdf tests_private__comparefiles__Bug689614.pdf tests_private__comparefiles__Bug690090.pdf tests_private__comparefiles__Bug690300.pdf tests_private__comparefiles__Bug690349.ps tests_private__comparefiles__Bug690837.pdf tests_private__comparefiles__Bug691031.pdf tests_private__comparefiles__Bug691076.pdf tests_private__comparefiles__bugsample.pdf tests_private__comparefiles__p2b-100.pdf tests_private__comparefiles__test-setweightvector.ps tests_private__comparefiles__tpc2.ps tests_private__pdf__PDFIA1.7_SUBSET__CATX0356.pdf tests_private__pdf__PDF_1.7_FTS__fts_20_2005.pdf tests_private__ps__ps3cet__09-11.PS tests_private__ps__ps3cet__09-34.PS tests_private__ps__ps3cet__09-47A.PS tests_private__ps__ps3cet__09-47B.PS tests_private__ps__ps3cet__12-07A.PS tests_private__ps__ps3cet__18-02B.PS I'm using the following commands: bin/gs -sDEVICE=ps2write -r300 -o test.ps ./$inputFile bin/gs -sDEVICE=ppmraw -r300 -o test.ppm ./test.ps
This looks like a duplicate of 691882 ?
*** Bug 691882 has been marked as a duplicate of this bug. ***
(In reply to comment #0) These files work for me with current code: > tests__pdf__Bug6901014_Additional_testcase.pdf > tests__pdf__Bug6901014_Fourth_crash_signature_testcase.pdf > tests__pdf__Bug6901014_SMP_Warwick_14.pdf > tests_private__comparefiles__Bug687797.pdf > tests_private__comparefiles__Bug690090.pdf > tests_private__comparefiles__Bug690300.pdf > tests_private__comparefiles__Bug690349.ps > tests_private__comparefiles__Bug691076.pdf > tests_private__comparefiles__p2b-100.pdf > tests_private__comparefiles__test-setweightvector.ps > tests_private__pdf__PDFIA1.7_SUBSET__CATX0356.pdf > tests_private__pdf__PDF_1.7_FTS__fts_20_2005.pdf > tests_private__ps__ps3cet__09-11.PS This file contains a broken TT font, so its not too surprising that it fails after conversion. The conversion does generate a warning. > tests_private__comparefiles__Bug690837.pdf This file contains a font which cannot be embedded due to licencing restrictions, again a warning is raised. > tests_private__comparefiles__bugsample.pdf These files still fail and need further investigation > tests__pdf__singular_ctm_3_tr_mode.pdf > tests_private__comparefiles__Bug689614.pdf > tests_private__comparefiles__Bug691031.pdf > tests_private__comparefiles__tpc2.ps > tests_private__ps__ps3cet__09-34.PS > tests_private__ps__ps3cet__09-47A.PS > tests_private__ps__ps3cet__09-47B.PS > tests_private__ps__ps3cet__12-07A.PS > tests_private__ps__ps3cet__18-02B.PS
> tests__pdf__singular_ctm_3_tr_mode.pdf This file has a degenerate text matrix (the scale factor in the y direction is 0). I don't think we should expect to be able to cope with that. > tests_private__comparefiles__Bug689614.pdf This looks like its the original file that the above reduced file came from: This file can't be edited in Acrobat because 'An error exists on the page'. > tests_private__comparefiles__Bug689614.pdf The TrueType font 'Univers-Medium has a corrupted POST table. We copy the POST table, without validating, so the output PS file has a corrupt POST table. PDF doesn't use the POST table, but PostScript does.
tpc2.ps is fixed with commit: 39182690d9d7242d7a8e6e2f5fe9aff52d0ee3ab
Commit: 8cfb57fdd350cbda7578226b150ed0014d5949c9 Fixes 09-47a.ps, 09-47b.ps and 18-02b.ps
Commit: d48a3d162fd38aaa2582e32565c07df41e7c02cb fixes 12-07a.ps as well as causing a progression in 12-02.ps. Somewhere along the way 09-34.ps has also been fixed, I'm not sure where this happened. The 5 files which are damaged/broken/invalid, or in one case have a non-embeddable font, are not addressed, and can't be. Appropriate warnings are raised during conversion where possible and I don't propose to do anything further with these. All other files now work correctly so closing the bug report.