GNU bug report logs - #8703
truncated unicode glyphs in X11

Previous Next

Package: emacs;

Reported by: Bertram Felgenhauer <bertram.felgenhauer <at> googlemail.com>

Date: Thu, 19 May 2011 20:23:02 UTC

Severity: normal

Fixed in version 23.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 8703 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Bertram Felgenhauer <bertram.felgenhauer <at> googlemail.com>,
	Kenichi Handa <handa <at> m17n.org>
Cc: 8703 <at> debbugs.gnu.org
Subject: Re: bug#8703: truncated unicode glyphs in X11
Date: Fri, 20 May 2011 13:23:07 +0300
> Date: Thu, 19 May 2011 22:17:02 +0200
> From: Bertram Felgenhauer <bertram.felgenhauer <at> googlemail.com>
> 
> I have tracked down the regression using git-bisect, and found it
> was introduced by
> 
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=5d747e944fd5a15bb36f865efc214024803c5fcf

For those using bzr, this is revision 100011 on the emacs-23 branch or
revision 99634.13.1 on the trunk.  Perhaps Handa-san could take a look
at this, as he made that change.

> Undoing a single change restores the correct behaviour for me:
> 
> diff --git a/src/xdisp.c b/src/xdisp.c
> index 3c9d385..20365ff 100644
> --- a/src/xdisp.c
> +++ b/src/xdisp.c
> @@ -5926,8 +5926,7 @@ get_next_display_element (struct it *it)
>                            : STRINGP (it->string) ? IT_STRING_CHARPOS (*it)
>                            : IT_CHARPOS (*it));
>  
> -         it->face_id = FACE_FOR_CHAR (it->f, face, it->char_to_display, pos,
> -                                      it->string);
> +         it->face_id = FACE_FOR_CHAR (it->f, face, it->c, pos, it->string);

Can you tell what are the values of it->c and it->char_to_display at
this point, for one of the characters hose display is truncated?




This bug report was last modified 14 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.