[cairo-bugs] [Bug 107068] New: PDF export loses hyperlinks if anchor text does not match URI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 29 07:42:34 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107068

            Bug ID: 107068
           Summary: PDF export loses hyperlinks if anchor text does not
                    match URI
           Product: cairo
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: NEW
          Severity: minor
          Priority: medium
         Component: pdf backend
          Assignee: ajohnson at redneon.com
          Reporter: maerai1gikei7 at gmx.de
        QA Contact: cairo-bugs at cairographics.org

Created attachment 140389
  --> https://bugs.freedesktop.org/attachment.cgi?id=140389&action=edit
MWE that loses some links and keeps others

I use Inkscape v.0.91 to convert a .svg file into pdf. To do this conversion,
my Inkscape relies on libcairo v.1.14.03 and libcairomm v.1.01.

The SVG file contains some hyperlinks, both to web pages and mailto: type
links. 

Some of these are missing in the exported PDF. 

I believe that links are not set if the anchor text does not have the same
format as the link target: an anchor linking to a webpage has to be of the form
"http://some.text.tld", an e-mail anchor has to be of the form
"name at domain.tld".

The attached SVG file is a MWE where some of the links are dropped.

Note: Inkscape uses both libcairo and libcairomm. I do not know exactly which
of the two cause this behaviour.

Note 2: Also, please forgive me if this has already been fixed in newer
versions:) I am aware that I use old versions of the libraries, but searching
the closed bug reports does not show anything similar to my issue, so I
reported anyway.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20180629/6903acf9/attachment.html>


More information about the cairo-bugs mailing list