mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 04:47:34 +00:00
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)
This commit is contained in:
parent
79a169684d
commit
b367d7fc7b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue