Bug 105019 - Make it possible to create links in PDF
Summary: Make it possible to create links in PDF
Alias: None
Product: cairo
Classification: Unclassified
Component: pdf backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Adrian Johnson
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2018-02-09 01:16 UTC by Federico Mena-Quintero
Modified: 2018-02-13 17:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Federico Mena-Quintero 2018-02-09 01:16:26 UTC
In librsvg, we have a request to make it possible for SVG's <a xlink:href="some_url_here"> element to create the corresponding link in PDF output.

I have no experience at all with the actual PDF format, but from what I could understand in the spec, one creates links relative to a rectangular region, not to arbitrary objects.  I don't know if this is correct.

Would it be possible to have some API that only goes to the PDF surface, so that one could create links?

cairo_pdf_surface_create_link(surf, x, y, w, h, url) - something like that?
Comment 1 Federico Mena-Quintero 2018-02-13 17:22:27 UTC
Never mind, this is supported since Cairo 1.15.4.

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.