• Eli Zaretskii's avatar
    Fix bug #18195 with inaccurate results from window-screen-lines. · 5818408f
    Eli Zaretskii authored
     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.
simple.el 313 KB