]> git.eshelyaron.com Git - emacs.git/commit
Fix bug #18195 with inaccurate results from window-screen-lines.
authorEli Zaretskii <eliz@gnu.org>
Tue, 5 Aug 2014 13:34:06 +0000 (16:34 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 5 Aug 2014 13:34:06 +0000 (16:34 +0300)
commit5818408f5029ae6c26fa329104d1126b2322b356
treeea4152b1d4937d16b46361040038277dd9877344
parent1d58ab89ca6eb1f87a812e23ffca210e15c4fb5f
Fix bug #18195 with inaccurate results from window-screen-lines.

 lisp/simple.el (default-line-height): A floating-point value of
 line-spacing means a fraction of the default frame font's height,
 not of the font currently used by the 'default' face.  Truncate
 the pixel value, like the display engine does.
 (window-screen-lines): Use window-inside-pixel-edges for
 determining the window height in pixels.
lisp/ChangeLog
lisp/simple.el