desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #86051
[Bug 1398229] Re: ps2pdf does not creat proper hyperlinks
Interestingly enough, this is the same two-page test file as the one in
https://bugs.launchpad.net/bugs/583990
four years ago. I don't know whether the ghostscript team could add
this to their testing regime.
Brad
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1398229
Title:
ps2pdf does not creat proper hyperlinks
Status in ghostscript package in Ubuntu:
New
Bug description:
firefly:~> lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10
firefly:~> apt-cache policy ghostscript
ghostscript:
Installed: 9.14~dfsg-0ubuntu3
Candidate: 9.14~dfsg-0ubuntu3
Version table:
*** 9.14~dfsg-0ubuntu3 0
500 http://ftp.ussg.iu.edu/linux/ubuntu/ utopic/main amd64 Packages
100 /var/lib/dpkg/status
What I expected to happen:
After calling
ps2pdf -dCompressPages=false -DCompressFonts=false test-pdf.ps
and then renaming the output, I get test-ubuntu.pdf, and Apple's
Preview version 8.0 will not follow the links.
If I do this using ghostscript 9.15 as packaged by the fink project on
Mac OS X 10.10.1, as documented here:
[Media-Mac-mini-3:~/Downloads] lucier% fink list | grep ghostscript
fc-ghostscript-fonts 20110722-1 Add ghostscript fonts to fontconfig search
i ghostscript 9.15-1 Interpreter for PostScript and PDF
ghostscript-esp 9.14-3 Ghostscript with better CJK and cups support
i ghostscript-fonts 8.11+urwcyr1.0.7pre44-1 Standard fonts for Ghostscript
ghostscript-nox 9.15-1 Interpreter for PostScript and PDF
gv 3.7.3-1 X11 interface for ghostscript interpreter
x-ghostscript-fonts 20020206-3 Allows X11 to use ghostscript fonts
I get test-macosx.pdf, which does allow Preview to follow the links.
If I give the same command on RHEL6, with
zariski-101% gs --version
8.70
(surely with some back-patched fixes), I get test-RHEL6.pdf, which
again does allow Preview to follow the links.
I think the relevant fix in ghostscript 9.15 was this patch:
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=c79b0ee1dbc1cbbcbe406abd4bc47f617ed5cb2c
and the correct fix may be just to upgrade to this version.
I'll upload the test files.
Brad
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1398229/+subscriptions
References