unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44784: Combining accent is not combining
@ 2020-11-21 19:17 Juri Linkov
  2020-11-21 20:05 ` Eli Zaretskii
  2020-11-21 20:08 ` Andreas Schwab
  0 siblings, 2 replies; 16+ messages in thread
From: Juri Linkov @ 2020-11-21 19:17 UTC (permalink / raw)
  To: 44784

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

Sorry that I noticed this regression only now,
but it's a pretty bad-looking regression:

0. emacs -Q
1. insert to the *scratch* buffer:

ä́  і́  Я́ 

In 26.3 everything is correct, and COMBINING ACUTE ACCENT
is combined above its previous character:


[-- Attachment #2: comb26.png --]
[-- Type: image/png, Size: 2983 bytes --]

[-- Attachment #3: Type: text/plain, Size: 590 bytes --]


Composed with the following character(s) "́" using this font:
  xft:-PfEd-DejaVu Sans Mono-normal-normal-normal-*-22-*-*-*-m-0-iso10646-1
by these glyphs:
  [0 1 1071 878 13 0 13 21 0 nil]
  [0 1 769 649 0 5 11 18 -14 [-15 -4 0]]
In 26.3 (x86_64-pc-linux-gnu, GTK+ Version 3.24.14)
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2

But in 27.1 COMBINING ACUTE ACCENT is not combined with its previous character:


[-- Attachment #4: comb27.png --]
[-- Type: image/png, Size: 2958 bytes --]

[-- Attachment #5: Type: text/plain, Size: 792 bytes --]


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]]
In 27.1 (x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER LCMS2 GMP

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?  It fails with the scripts above, but still has no problems
with plain Latin characters.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-02-10 12:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21 19:17 bug#44784: Combining accent is not combining Juri Linkov
2020-11-21 20:05 ` Eli Zaretskii
2020-11-21 20:13   ` Eli Zaretskii
2020-11-21 20:35   ` Juri Linkov
2020-11-22  3:35     ` Eli Zaretskii
2020-11-22 10:12       ` Stephen Berman
2020-11-22 15:28         ` Eli Zaretskii
2020-11-22 16:28           ` Stephen Berman
2020-11-22 16:52             ` Eli Zaretskii
2022-02-09  9:43     ` Lars Ingebrigtsen
2022-02-10  8:40       ` Juri Linkov
2022-02-10 10:49         ` Robert Pluim
2022-02-10 11:19           ` Lars Ingebrigtsen
2022-02-10 12:25             ` Eli Zaretskii
2020-11-21 20:08 ` Andreas Schwab
2020-11-21 20:30   ` Juri Linkov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).