changeset 24561:6f4ae209bbac

(dumpglyphs): Be sure to fill the whole background of glyphs.
author Kenichi Handa <handa@m17n.org>
date Mon, 05 Apr 1999 06:47:41 +0000
parents bb608cd1af6e
children 9bd33c9d9a4e
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Apr 05 06:36:31 1999 +0000
+++ b/src/xterm.c	Mon Apr 05 06:47:41 1999 +0000
@@ -896,7 +896,9 @@
 	    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)
 	  {