changeset 24687:8d4b8adc3c98

(dumpglyphs): Always fill background for italic fonts.
author Andrew Innes <andrewi@gnu.org>
date Mon, 03 May 1999 22:27:11 +0000
parents f2ecc3b6a45f
children 7b170d2184a4
files src/w32term.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Mon May 03 22:19:43 1999 +0000
+++ b/src/w32term.c	Mon May 03 22:27:11 1999 +0000
@@ -711,6 +711,7 @@
 	   3) Drawing a composite character.
 	   4) Font has non-zero _MULE_BASELINE_OFFSET property.
            5) Font is a bdf font.
+	   6) Font is italic (italic fonts falsely report their height).
 	   After filling background, we draw glyphs by XDrawString16.  */
 	int background_filled;
 	/* Baseline position of a character, offset from TOP.  */
@@ -940,6 +941,7 @@
                  || FONT_HEIGHT (font) < line_height
                  || FONT_WIDTH (font) < glyph_width
                  || FONT_MAX_WIDTH (font) != FONT_WIDTH (font)
+		 || font->tm.tmItalic
                  || cmpcharp)
           {
 	    /* Fill in the background for the current run.  */