Bug 994452

Summary: Invisible text not preserved by pdfwrite
Product: Red Hat Enterprise Linux 6 Reporter: Tim Waugh <twaugh>
Component: ghostscriptAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: unspecified Docs Contact:
Priority: low    
Version: 6.4CC: bbarve, lijli, mshao, simon.matter, twaugh
Target Milestone: rcKeywords: i18n, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ghostscript-8.70-20.el6 Doc Type: Bug Fix
Doc Text:
Cause: Text intended for rendering in mode 3 (invisible) was not included in PDF output from pdfwrite device. Consequence: Copy and paste from documents with invisible text (such as OCR output) did not work. Fix: Mode 3 text is now included. Result: Copy and paste for invisible text now works.
Story Points: ---
Clone Of: 994385 Environment:
Last Closed: 2015-07-22 06:50:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 994385    
Bug Blocks:    

Description Tim Waugh 2013-08-07 10:26:44 UTC
This bug also affects Red Hat Enterprise Linux 6.4.

+++ This bug was initially created as a clone of Bug #994385 +++

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):
ghostscript-8.70-14.el5_8.1

How reproducible:
always

Steps to Reproduce:
1. gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=all.pdf 201308070*.pdf
2.
3.

Actual results:
Some or all invisible text is missing in all.pdf (depending on the kind of font used in the input files)

Expected results:
All invisible text should still be in all.pdf

Additional info:
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.

Regards,
Simon

Comment 1 RHEL Program Management 2013-10-14 02:49:18 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 21 errata-xmlrpc 2015-07-22 06:50:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1343.html