GNU bug report logs - #26742
Display bug with composed strings

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Tue, 2 May 2017 06:59:01 UTC

Severity: normal

Done: mituharu <at> math.s.chiba-u.ac.jp

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: clement.pitclaudel <at> live.com, 26742 <at> debbugs.gnu.org
Subject: bug#26742: Display bug with composed strings
Date: Wed, 03 May 2017 17:42:14 +0300
> Date: Wed, 03 May 2017 12:50:16 +0900
> From: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
> Cc: 26742 <at> debbugs.gnu.org
> 
> +/* Return glyph string that shares background with glyph string S and
> +   whose `background_width' member has been set.  */
> +
> +static struct glyph_string *
> +glyph_string_containing_background_width (struct glyph_string *s)
> +{
> +  if (s->cmp)
> +    while (s->cmp_from)
> +      s = s->prev;
> +
> +  return s;
> +}

Please also test this with composed characters in R2L text (I don't
remember if s->cmp_from still has the same meaning in that case).

Thanks.




This bug report was last modified 8 years and 18 days ago.

Previous Next


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