<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - PDF export loses hyperlinks if anchor text does not match URI"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107068">107068</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>PDF export loses hyperlinks if anchor text does not match URI
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>pdf backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>ajohnson@redneon.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>maerai1gikei7@gmx.de
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=140389" name="attach_140389" title="MWE that loses some links and keeps others">attachment 140389</a> <a href="attachment.cgi?id=140389&action=edit" title="MWE that loses some links and keeps others">[details]</a></span>
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
"<a href="http://some.text.tld">http://some.text.tld</a>", an e-mail anchor has to be of the form
"<a href="mailto:name@domain.tld">name@domain.tld</a>".
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>