GNU bug report logs - #44784
Combining accent is not combining

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sat, 21 Nov 2020 19:47:01 UTC

Severity: normal

Merged with 23292, 39554

Found in versions 24.5, 27.0.50

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 44784 <at> debbugs.gnu.org
Subject: bug#44784: Combining accent is not combining
Date: Sat, 21 Nov 2020 22:35:11 +0200
> Btw, the report by Emacs 27's "C-u C-x =", viz.:
>
>   Composed with the following character(s) "́" using this font:
>     xfthb:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-22-*-*-*-m-0-iso10646-1
>   by these glyphs:
>     [0 1 1071 878 13 0 13 16 0 nil]
>     [0 1 769 649 13 4 11 17 -13 [0 0 0]]
>
> explicitly says that character composition _did_ happen here, it's
> just the display that is broken.  And I guess that moving point to
> these characters will show a "fat" cursor that includes both the base
> character and the accent, once again showing that Emacs did compose
> the accent with the preceding character.

Actually, separate cursor is shown on a character and separate on its
combining character, so it seems they are not composed.

>> It seems in 26.3 it's correct because it uses XFT, but the problem in 27.1
>> is with HarfBuzz .  Maybe HarfBuzz doesn't support combining accents on
>> some characters?
>
> That cannot be the reason.  Please try with other fonts, for
> starters.  DejaVu Sans Mono is known to have problems with combining
> accents, see this discussion:

Yes, it displays correctly with other fonts, e.g. Noto Sans.
It would be a pity to switch to another font.  So this bug report
could be closed if nothing can be done in Emacs.




This bug report was last modified 3 years and 96 days ago.

Previous Next


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