GNU bug report logs - #16457
24.3.50; crash rendering Arabic Uthmani script

Previous Next

Package: emacs;

Reported by: Dmitry Antipov <dmantipov <at> yandex.ru>

Date: Wed, 15 Jan 2014 17:26:02 UTC

Severity: important

Found in version 24.3.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Antipov <dmantipov <at> yandex.ru>
To: "K. Handa" <handa <at> gnu.org>
Cc: 16457 <at> debbugs.gnu.org
Subject: Re: bug#16457: 24.3.50; crash rendering Arabic Uthmani script
Date: Sun, 19 Jan 2014 20:00:46 +0400
On 01/19/2014 05:45 PM, K. Handa wrote:

> But, by checking my latest change again, I noticed a silly
> mistake :-(, and just installed the following patch.
>
> === modified file 'src/composite.c'
> --- src/composite.c	2014-01-12 23:23:55 +0000
> +++ src/composite.c	2014-01-19 13:24:59 +0000
> @@ -1412,7 +1412,7 @@
>         cmp_it->width = 0;
>         for (i = cmp_it->nchars - 1; i >= 0; i--)
>   	{
> -	  c = XINT (LGSTRING_CHAR (gstring, cmp_it->from + i));
> +	  c = XINT (LGSTRING_CHAR (gstring, from + i));
>   	  cmp_it->nbytes += CHAR_BYTES (c);
>   	  cmp_it->width += CHAR_WIDTH (c);
>   	}
>
> Coud you please try agian with the latest trunk code?

Now it doesn't crash, and column number looks correct. Thanks.

Dmitry






This bug report was last modified 11 years and 182 days ago.

Previous Next


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