Commit 95d0a340 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Ffont_shape_text): Fix setting of `to' field of glyphs.

parent 637ac44c
......@@ -3687,7 +3687,7 @@ FONT-OBJECT. */)
Lisp_Object g = LGSTRING_GLYPH (gstring, i);
LGLYPH_SET_FROM (g, LGLYPH_FROM (g) - this_from);
LGLYPH_SET_TO (g, LGLYPH_TO (g) - this_to);
LGLYPH_SET_TO (g, LGLYPH_TO (g) - this_from);
LGSTRING_SET_GLYPH (gstr, i - k, LGSTRING_GLYPH (gstring, i));
from = make_number (start + this_from);
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