]> code.delx.au - gnu-emacs/commitdiff
(dumpglyphs): Be sure to fill the whole background of
authorKenichi Handa <handa@m17n.org>
Mon, 5 Apr 1999 06:47:41 +0000 (06:47 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 5 Apr 1999 06:47:41 +0000 (06:47 +0000)
glyphs.

src/xterm.c

index e4c4e62095f510bf7549efc423788d54981bb411..86fd43ac1625e0fb8a7f12a83d5c7848aaa4d050 100644 (file)
@@ -896,7 +896,9 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp)
            background_filled = 1;
          }
        else if (!font
-                || FONT_HEIGHT (font) < line_height
+                || FONT_BASE (font) < baseline
+                || (FONT_HEIGHT (font) - FONT_BASE (font)
+                    < line_height - baseline)
                 || FONT_WIDTH (font) < glyph_width
                 || cmpcharp)
          {