Red Hat Bugzilla – Bug 994385
Invisible text not preserved by pdfwrite
Last modified: 2013-11-01 08:10:19 EDT
Description of problem:
Running gs with pdfwrite on a scanned and OCR'ed PDF file the invisible text, which is used for copy/paste, is not preserved in the output file.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=all.pdf 201308070*.pdf
Some or all invisible text is missing in all.pdf (depending on the kind of font used in the input files)
All invisible text should still be in all.pdf
See the ghostscript bug for more info. The upstream commit is here http://ghostscript.com/pipermail/gs-cvs/2010-October/011807.html
I've tested the patch and it fixes the issue mentioned above.
Thank you for the report.
Are you able to attach a small example document that reproduces the problem?
Created attachment 783858 [details]
PDF with invisible text
If the file is run through ghostscript like this
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=test-gs.pdf test.pdf
the output file doesn't include the invisible text anymore.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
This bug has been reviewed by Red Hat and is not planned on being addressed in Red Hat Enterprise Linux 5, and therefore will be closed. If this bug is critical to production systems, please contact your Red Hat support representative.
This issue is being tracked for Red Hat Enterprise Linux 6 as bug #994452.