Commit 1a2e6670 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix pos-visible-in-window-p for zero-column composed character.

 src/xdisp.c (x_produce_glyphs): Set it->nglyphs to 1.  Fixes pixel
 coordinates reported by pos-visible-in-window-p for a composed
 character in column zero.
parent 1802e444
2011-08-23 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (x_produce_glyphs): Set it->nglyphs to 1. Fixes pixel
coordinates reported by pos-visible-in-window-p for a composed
character in column zero.
2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
* cmds.c (Fself_insert_command): Mention post-self-insert-hook.
......
......@@ -24064,6 +24064,8 @@ x_produce_glyphs (struct it *it)
Lisp_Object gstring;
struct font_metrics metrics;
it->nglyphs = 1;
gstring = composition_gstring_from_id (it->cmp_it.id);
it->pixel_width
= composition_gstring_width (gstring, it->cmp_it.from, it->cmp_it.to,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment