From: Jason Rumney Date: Thu, 17 Jun 1999 08:45:30 +0000 (+0000) Subject: Handle wide characters properly. X-Git-Tag: emacs-20.4~86 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=daffac2fba8ad81e6c64a925bcce71c278df4f4f;p=emacs.git Handle wide characters properly. --- 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) if (! active_frame->enable[y] || left > active_frame->used[y]) continue; + while (*line & GLYPH_MASK_PADDING) + { + /* We must display the whole glyph of a wide-column + character. */ + left--; + line--; + cols++; + } dumpglyphs (f, CHAR_TO_PIXEL_COL (f, left), CHAR_TO_PIXEL_ROW (f, y),