GNU bug report logs -
#42256
27.0.50; composition
Previous Next
Reported by: rms <at> gnu.org
Date: Wed, 8 Jul 2020 02:42:02 UTC
Severity: normal
Found in version 27.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Juri Linkov <juri <at> linkov.net>
> Cc: rms <at> gnu.org, 42256 <at> debbugs.gnu.org
> Date: Tue, 14 Jul 2020 03:13:12 +0300
>
> I tried, but got a different output:
The output you get depends on the font as well, so I see no problem
here.
> > And at position 872 you can see an even more stark example: instead of
> > 2 characters, we show 8(!).
>
> I don't understand where these 8 characters are coming from.
> This composition of 8 characters is returned by find-composition.
> Maybe the bug is in find-composition?
No, there's no bug in find-composition: it returns what we should pass
to the text shaper. The problem here is that your code assumes all
the characters we passed to the shaper are a single grapheme cluster,
which is not true.
I suggest to look at the code which displays the "Composed with" line
and decides which characters to show there, and do the same in your
addition.
Thanks.
This bug report was last modified 4 years and 306 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.