emacs-devel
[Top][All Lists]
Advanced

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

Re: Pixel-based display functions


From: Stefan Monnier
Subject: Re: Pixel-based display functions
Date: Wed, 18 Feb 2015 00:53:15 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> The line longest in characters doesn't really say much about what line
>> is longest in pixels.
> I beg to differ.

They are correlated but I agree with Lars that the correlation is not
strong enough that one can simply take the longest-line-in-chars,
measure it, and expect the result to be the longer in pixel than all
other lines.

A long line of "llllllll" can be significantly shorter in pixels than
a slightly-less-long line of "mmmmmmm" if you use something
like Helvetica.

And a long line of "mmmmm" can be significantly shorter than a much
shorter line of "lllll" if the line of "lllll" uses a much larger face
or has an embedded after-string, or ...


        Stefan



reply via email to

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