emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SVG hack for display engine


From: Anand Tamariya
Subject: Re: SVG hack for display engine
Date: Mon, 15 Nov 2021 18:57:20 +0530

In this hack, the elisp code navigates from (window-start) to (window-end) reading a line of text from the associated buffer and displays the same in SVG. I've used (read-event) and (lookup-key) to allow for key translations for navigation commands. Hopefully with a tighter integration, all of this will not be required.

Positioning of the point is one open area. We would need the bounding box of text for accurate positioning. We have three sources for this - librsvg, pango or the current display engine.


On Mon, Nov 15, 2021 at 6:15 PM Eli Zaretskii <eliz@gnu.org> wrote:
> From: Anand Tamariya <atamariya@gmail.com>
> Date: Mon, 15 Nov 2021 08:09:22 +0530
>
> How about using SVG for rendering in the display engine?

Please elaborate what you mean by that.  How would the display engine
work under this idea?

The image you posted doesn't tell enough to understand what's
involved, and thus it is very hard to think about possible
implications of such a change.

Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]