1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 08:20:41 -08:00

Handle wide characters properly.

This commit is contained in:
Jason Rumney 1999-06-17 08:45:30 +00:00
parent b6ae404e61
commit daffac2fba

View file

@ -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),