# HG changeset patch # User Andrew Innes # Date 925770431 0 # Node ID 8d4b8adc3c98945c244ff28ec9cd9106b4d4102d # Parent f2ecc3b6a45f2e4ce0138a8d0f82f52f4a9b7e30 (dumpglyphs): Always fill background for italic fonts. diff -r f2ecc3b6a45f -r 8d4b8adc3c98 src/w32term.c --- 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. */