diff options
| author | Andrew Innes | 1999-05-03 22:27:11 +0000 |
|---|---|---|
| committer | Andrew Innes | 1999-05-03 22:27:11 +0000 |
| commit | e3e0e526a7fdcba220dc74193b5b7d81590d5804 (patch) | |
| tree | 6d0972d3296fbdcffedb8bc9b6df82d0ee47a8b0 /src | |
| parent | d76d2456576b3825e1c1cb36c001efa55fadd50a (diff) | |
| download | emacs-e3e0e526a7fdcba220dc74193b5b7d81590d5804.tar.gz emacs-e3e0e526a7fdcba220dc74193b5b7d81590d5804.zip | |
(dumpglyphs): Always fill background for italic fonts.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c index 4139ec8eabd..ed4255f2294 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -711,6 +711,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp) | |||
| 711 | 3) Drawing a composite character. | 711 | 3) Drawing a composite character. |
| 712 | 4) Font has non-zero _MULE_BASELINE_OFFSET property. | 712 | 4) Font has non-zero _MULE_BASELINE_OFFSET property. |
| 713 | 5) Font is a bdf font. | 713 | 5) Font is a bdf font. |
| 714 | 6) Font is italic (italic fonts falsely report their height). | ||
| 714 | After filling background, we draw glyphs by XDrawString16. */ | 715 | After filling background, we draw glyphs by XDrawString16. */ |
| 715 | int background_filled; | 716 | int background_filled; |
| 716 | /* Baseline position of a character, offset from TOP. */ | 717 | /* Baseline position of a character, offset from TOP. */ |
| @@ -940,6 +941,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp) | |||
| 940 | || FONT_HEIGHT (font) < line_height | 941 | || FONT_HEIGHT (font) < line_height |
| 941 | || FONT_WIDTH (font) < glyph_width | 942 | || FONT_WIDTH (font) < glyph_width |
| 942 | || FONT_MAX_WIDTH (font) != FONT_WIDTH (font) | 943 | || FONT_MAX_WIDTH (font) != FONT_WIDTH (font) |
| 944 | || font->tm.tmItalic | ||
| 943 | || cmpcharp) | 945 | || cmpcharp) |
| 944 | { | 946 | { |
| 945 | /* Fill in the background for the current run. */ | 947 | /* Fill in the background for the current run. */ |