Subject: Re: bug#8703: truncated unicode glyphs in X11

From: Eli Zaretskii <[email-masked]>
Date: Fri, 20 May 2011 17:36:09 +0300

> Date: Fri, 20 May 2011 13:56:04 +0200
> From: Bertram Felgenhauer <[email-masked]>
> Cc: Kenichi Handa <[email-masked]>, [email-masked]
> 
> For the example screenshot, I found the following cases where
> it->c and it->char_to_display differ:
> 
> it->c                                  it->char_to_display
>  8896 (N-ARY LOGICAL AND)              34 (QUOTATION MARK)
>  8801 (IDENTICAL TO)                   32 (SPACE)
> 10233 (LONG RIGHTWARDS DOUBLE ARROW)   32 (SPACE)
> 
> it->char_to_display is the previous character in the string each time,
> and indeed there's a possibility that this path is taken but
> it->char_to_display was not set by get_next_display_element: when
> it->what == IT_COMPOSITION and it->cmp_it.ch < 0.

This certainly sounds like the root cause, thanks.  I'll let Handa-san
judge.