Mercurial > emacs
diff src/w32term.c @ 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 | d0dee612f8e3 |
| children | 8f526771b25b |
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. */
