Comment 20 for bug 381788

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The original binary also does not more than calling Ghostscript for turning PDF into PostScript. I use a script for the testing to more quickly apply changes and to allow users to try the changes without needing to compile. The final result will later be implemented in the original binary.

The most important change is that the Ghostscript output device "pswrite" is replaced by "ps2write". The former turns every text character into a little bitmap, producing a huge output file which has lost all text and font information. The latter conserves fonts, but produces a PostScript which is not DSC-conforming. This means one cannot separate the pages in the file. For us it is no problem, as any page manipulation has already been done before calling the pdftops filter, by the pdftopdf filter.

Currently, we are investigating whether Ghostscript's "ps2write" output works correctly with all PPDs and printers and report bugs to Ghostscript upstream if there are problems.