emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master b367d7f: Fix display of thin lines whose newline ha


From: Eli Zaretskii
Subject: [Emacs-diffs] master b367d7f: Fix display of thin lines whose newline has line-height property of t
Date: Wed, 12 Aug 2015 15:58:56 +0000

branch: master
commit b367d7fc7b234bb98b330ac61bf35372f0f0acae
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix display of thin lines whose newline has line-height property of t
    
    * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
    and descent values of non-empty glyph rows, since they could have
    forced low values deliberately.  (Bug#21243)
---
 src/xdisp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 7371216..9b76174 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -19229,7 +19229,7 @@ append_space_for_newline (struct it *it, bool 
default_face_p)
             funny, and height of empty lines will be incorrect.  */
          g = it->glyph_row->glyphs[TEXT_AREA] + n;
          struct font *font = face->font ? face->font : FRAME_FONT (it->f);
-         if (n == 0 || it->glyph_row->height < font->pixel_size)
+         if (n == 0)
            {
              Lisp_Object height, total_height;
              int extra_line_spacing = it->extra_line_spacing;



reply via email to

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