Bug 107068

Summary: PDF export loses hyperlinks if anchor text does not match URI
Product: cairo Reporter: maerai1gikei7
Component: pdf backendAssignee: Adrian Johnson <ajohnson>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: minor    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Mac OS X (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: MWE that loses some links and keeps others

Description maerai1gikei7 2018-06-29 07:42:34 UTC
Created attachment 140389 [details]
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@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.
Comment 1 GitLab Migration User 2018-08-25 13:32:03 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/cairo/cairo/issues/53.

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.