Re: Displaying SVG with embedded links
Stefan Monnier <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Eli Zaretskii [2026-04-05 16:20:39] wrote: > AFAIK, this is not supported directly, but you could have a :map > property in the image descriptor that makes portions of the image > sensitive to clicks. See the node "Image Descriptors" in the ELisp > manual for more. That doesn't really help: the difficulty is in figuring out which part of the image corresponds to which link (if any). This is equivalent to "executing the SVG's code in reverse", so the easiest way to do it is to render the SVG and have the renderer remember where it drew each link. So, if we don't want to re-implement an SVG renderer in ELisp, the better option is to export to ELisp this part of the functionality of "the" underlying rendering library. === Stefan