emacs-devel
[Top][All Lists]
Advanced

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

Re: Pixel-based display functions


From: Eli Zaretskii
Subject: Re: Pixel-based display functions
Date: Sun, 01 Feb 2015 05:36:16 +0200

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Sat, 31 Jan 2015 15:33:11 -0500
> 
> > Lars doesn't want to compute pixel sizes to repeat what the display
> > engine does.  He wants to do that to implement stuff that the display
> > engine cannot, at least currently (if it ever should).
> 
> AFAICT he wants to compute the pixel length of a chunk of text.
> I don't see why we can't export to Elisp a C function that does that
> re-using the same machinery used by the redisplay (and by vertical-motion).

Those functions are already exposed, and that's exactly what Lars is
doing, AFAIU.

Or maybe I don't understand which functions you want to expose, so
please elaborate.



reply via email to

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