Bug 102882

Summary: pdftocairo - Sensitivity lost on hyperlinks
Product: poppler Reporter: alt.bi-5h84u8i
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description alt.bi-5h84u8i 2017-09-19 15:50:34 UTC
If pdftocairo is used to convert a PDF to an SVG, all clickable hyperlinks in the PDF document are lost in the target SVG file. The SVG produced by pdftocairo shows only the text of the link's label. This is the sample LaTeX code that was used to create the PDF:

\documentclass[12pt,pdftex]{minimal}
\usepackage[margin=0mm,nofoot,a5paper,pdftex]{geometry}
\usepackage[active,tightpage]{preview}
\usepackage{hyperref}

\begin{document}
\begin{preview}

\href{https://github.com/lambdafu/poppler/issues/1}{arbitrarylink}

\end{preview}
\end{document}

Versions:

$ pdflatex -v
pdfTeX 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian)
kpathsea version 6.2.1dev
Copyright 2014 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.13; using libpng 1.6.13
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.26.5

$ pdftocairo -v
pdftocairo version 0.26.5
Copyright 2005-2014 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-2011 Glyph & Cog, LLC
Comment 1 todd.hubers 2018-08-09 13:31:40 UTC
That looks like a very old version of Poppler - 0.26.5. Can you test this with Poppler 0.67.0?
Comment 2 GitLab Migration User 2018-08-21 10:33:43 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/259.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.