emacs-devel
[Top][All Lists]
Advanced

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

Re: Ligatures


From: Pip Cet
Subject: Re: Ligatures
Date: Tue, 19 May 2020 15:11:27 +0000

On Tue, May 19, 2020 at 2:52 PM Eli Zaretskii <address@hidden> wrote:
> Btw, there's one subtle issue that will need to be resolved if we are
> to have this feature of "sub-glyph" cursor movement inside composed
> characters.  The way we currently display the default block cursor is
> by simply redrawing the glyph at point in reverse video.  So we don't
> have a way of displaying a cursor that "covers" only part of a glyph.

I thought that was what glyph_row->clip was for.

> To make this happen, we'd probably need to draw the cursor as part of
> drawing the glyph foreground and/or background, which is against the

I believe that's a change we should make anyway: late cursor drawing
makes sense on TTYs with physical cursors, but on GUI backends, we
should simply use a special face for drawing the struct glyph a cursor
is on, IMHO.



reply via email to

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