Bug 675692 - ps2pdf does not produce working hyperlinks.
Summary: ps2pdf does not produce working hyperlinks.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ghostscript
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact: i18n Engineering List
URL:
Whiteboard:
Depends On: 675307
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-07 11:23 UTC by Tim Waugh
Modified: 2011-05-19 12:28 UTC (History)
2 users (show)

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.
Clone Of: 675307
Environment:
Last Closed: 2011-05-19 12:28:20 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ghostscript 691344 0 None None None Never
Red Hat Product Errata RHBA-2011:0527 0 normal SHIPPED_LIVE ghostscript bug fix update 2011-05-18 17:57:49 UTC

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


Note You need to log in before you can comment on or make changes to this bug.