Comment by kccqzy
2 months ago
You don't need PostScript for that. The PDF text commands are Tj and TJ, and rarely ' and ". They are easy to delete without going through PostScript. Tj means showing a simple text string. TJ means showing an array of strings possibly with space adjustments. ' means moving to the next line and showing a simple string. " means doing that and setting character spacing.
Perhaps, but it's easier to open up and edit a .ps file in a text editor than a PDF. PDF is a binary format with compressed streams, while postscript is just a stack-oriented programming language.
Tools like qpdf makes it easy to edit a .pdf file in a text editor too. I’d argue using such tools is easier than and simpler than printing to postscript.
Sure. I've not tried it. Was it around in 2002? Because that's when my story occured.