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:
parent
b6ae404e61
commit
daffac2fba
1 changed files with 8 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue