emacs-devel
[Top][All Lists]
Advanced

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

Re: Pixel-based display functions


From: martin rudalics
Subject: Re: Pixel-based display functions
Date: Fri, 06 Feb 2015 08:28:15 +0100

> I wonder whether a faster interface
> would be to have a version of `window-text-pixel-size' that returns a
> vector of glyph sizes.  Then that vector could be used both for going to
> a column (by just adding until we get to the required pixel count) as
> well as for computing the displayed width of each line.

Isn't what you want a function that stops at some whitespace preceding
non-whitespace that won't fit within some specified limit?

martin



reply via email to

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