|Summary:||Make it possible to create links in PDF|
|Product:||cairo||Reporter:||Federico Mena-Quintero <federico>|
|Component:||pdf backend||Assignee:||Adrian Johnson <ajohnson>|
|Status:||RESOLVED FIXED||QA Contact:||cairo-bugs mailing list <cairo-bugs>|
|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.