From daffac2fba8ad81e6c64a925bcce71c278df4f4f Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 17 Jun 1999 08:45:30 +0000 Subject: [PATCH] Handle wide characters properly. --- src/w32term.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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), -- 2.39.2