Mercurial > emacs
changeset 24863:de94a8394d25
Handle wide characters properly.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 17 Jun 1999 08:45:30 +0000 |
parents | 78aaef52e28f |
children | 21f620ad347e |
files | src/w32term.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Thu Jun 17 07:10:20 1999 +0000 +++ b/src/w32term.c Thu Jun 17 08:45:30 1999 +0000 @@ -1681,6 +1681,14 @@ 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),