diff options
| author | Jason Rumney | 1999-06-17 08:45:30 +0000 |
|---|---|---|
| committer | Jason Rumney | 1999-06-17 08:45:30 +0000 |
| commit | daffac2fba8ad81e6c64a925bcce71c278df4f4f (patch) | |
| tree | 117f8074e5edd7a7c4b12e75e5a4d1e6d766bc33 /src/w32term.c | |
| parent | b6ae404e617391c33b7dc13583a80552bf58bf28 (diff) | |
| download | emacs-daffac2fba8ad81e6c64a925bcce71c278df4f4f.tar.gz emacs-daffac2fba8ad81e6c64a925bcce71c278df4f4f.zip | |
Handle wide characters properly.
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c index 1d094708e3f..9723b5b2a27 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -1681,6 +1681,14 @@ dumprectangle (f, left, top, cols, rows) | |||
| 1681 | if (! active_frame->enable[y] || left > active_frame->used[y]) | 1681 | if (! active_frame->enable[y] || left > active_frame->used[y]) |
| 1682 | continue; | 1682 | continue; |
| 1683 | 1683 | ||
| 1684 | while (*line & GLYPH_MASK_PADDING) | ||
| 1685 | { | ||
| 1686 | /* We must display the whole glyph of a wide-column | ||
| 1687 | character. */ | ||
| 1688 | left--; | ||
| 1689 | line--; | ||
| 1690 | cols++; | ||
| 1691 | } | ||
| 1684 | dumpglyphs (f, | 1692 | dumpglyphs (f, |
| 1685 | CHAR_TO_PIXEL_COL (f, left), | 1693 | CHAR_TO_PIXEL_COL (f, left), |
| 1686 | CHAR_TO_PIXEL_ROW (f, y), | 1694 | CHAR_TO_PIXEL_ROW (f, y), |