pdftocairo - Sensitivity lost on hyperlinks
Submitted by alt..@...fr.nf
Assigned to poppler-bugs
Link to original bug (#102882)
Description
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