Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 675692

Summary: ps2pdf does not produce working hyperlinks.
Product: Red Hat Enterprise Linux 6 Reporter: Tim Waugh <twaugh>
Component: ghostscriptAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: i18n Engineering List <eng-i18n-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: ktakemur, pknirsch
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ghostscript-8.70-11.el6 Doc Type: Bug Fix
Doc Text:
Previously, using the ps2pdf utility to convert a PostScript file to the PDF format caused the resulting document to be created without working hyperlinks. This update applies an upstream patch that resolves this issue, and ps2pdf now crates PDF files with correct hyperlinks.
Story Points: ---
Clone Of: 675307 Environment:
Last Closed: 2011-05-19 12:28:20 UTC Type: ---
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: 675307    
Bug Blocks:    

Description Tim Waugh 2011-02-07 11:23:04 UTC
From code inspection it looks like Red Hat Enterprise Linux 6 is also affected by this bug.

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

Description of problem:

ps2pdf does not produce working hyperlinks.

Version-Release number of selected component (if applicable):

banach-106% rpm -q ghostscript
ghostscript-8.70-6.el5
ghostscript-8.70-6.el5
banach-107% gs
GPL Ghostscript 8.70 (2009-07-31)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.

How reproducible:

Every time.

Steps to Reproduce:
1.

Download 

http://www.math.purdue.edu/~lucier/bugzilla/13/test-pdf.ps


2.

Run

ps2pdf12 test-pdf.ps

3.

Run

evince test-pdf.pdf

The hyperlinks don't work.
  
Actual results:

The file

http://www.math.purdue.edu/~lucier/bugzilla/13/test-pdf.pdf

is the output of

ps2pdf test-pdf.ps


Expected results:

The file

http://www.math.purdue.edu/~lucier/bugzilla/13/test-pdf2.pdf

was produced by an earlier version of ghostscript from RHEL5:

banach-131% gs
ESP Ghostscript 815.02 (2006-04-19)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.

and the hyperlinks work.

Additional info:

This bug has been fixed for ghostscript 9:

http://bugs.ghostscript.com/show_bug.cgi?id=691344

The patch is very short:

http://ghostscript.com/pipermail/gs-cvs/2010-July/011359.html

and it has been backported to Ubuntu without problems:

https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/583990

This is the third ghostscript package (Ubuntu, RHEL5, Fink) where I hit this bug ;-).

Brad

--- Additional comment from twaugh on 2011-02-07 06:18:03 EST ---

Thanks for reporting it.  Sorry this one slipped through.

Comment 3 Kenichi Takemura 2011-04-01 00:11:59 UTC
Hi Time
I am just curious to know any hyperlinks in a ps file should be working by 'ps2pdf'?
I tested other ps files but hyperlinks are not working when I view pdf with evince.

Is there any rule to create a ps?
The 'test-pdf.ps' has some magic in it?

Comment 4 Tim Waugh 2011-04-01 09:35:23 UTC
Yes, it has magic in it: specifically it uses 'pdfmark'.

Comment 6 Jaromir Hradilek 2011-04-05 15:15:25 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, using the ps2pdf utility to convert a PostScript file to the PDF format caused the resulting document to be created without working hyperlinks. This update applies an upstream patch that resolves this issue, and ps2pdf now crates PDF files with correct hyperlinks.

Comment 7 errata-xmlrpc 2011-05-19 12:28:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0527.html