GNU bug report logs - #66737
30.0.50; Unexpected combination of double quote and acute accent

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Tue, 24 Oct 2023 22:13:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 66737 in the body.
You can then email your comments to 66737 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#66737; Package emacs. (Tue, 24 Oct 2023 22:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Markus Triska <triska <at> metalevel.at>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 24 Oct 2023 22:13:02 GMT) Full text and rfc822 format available.

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

From: Markus Triska <triska <at> metalevel.at>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; Unexpected combination of double quote and acute accent
Date: Wed, 25 Oct 2023 00:22:38 +0200
To reproduce this issue, please start Emacs with:

    $ emacs -Q

and then insert the following text in the *scratch* buffer:

    Ϊ́"

The expected appearance is: the letter Ι combined with diaeresis and
acute accent, followed by double quote.

Instead, I see: the letter I combined with diaeresis, followed by
double quote combined with acute accent.

All the best,
Markus

In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin18.2.0, X toolkit,
 cairo version 1.17.6, Xaw scroll bars) of 2023-09-11 built on
 mac
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description:  Mac OS X 10.14.2

Configured using:
 'configure --prefix=/opt/local --disable-silent-rules --without-ns
 --without-dbus --without-gconf --without-libotf --without-m17n-flt
 --with-libgmp --with-gnutls --with-json --with-xml2 --with-modules
 --with-sqlite3 --with-webp --infodir /opt/local/share/info/emacs
 --with-x-toolkit=lucid --without-xaw3d --without-imagemagick --with-xpm
 --with-jpeg --with-tiff --with-gif --with-png --with-lcms2
 --without-rsvg --with-xft --with-native-compilation=aot
 --with-tree-sitter 'CFLAGS=-pipe -Os -Wno-attributes
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch
 x86_64' 'CPPFLAGS=-I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk'
 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -lfreetype
 -lfontconfig -Wl,-rpath /opt/local/lib/gcc12 -Wl,-no_pie
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
 -arch x86_64''

Configured features:
ACL CAIRO FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE PDUMPER PNG SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2
XPM LUCID ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66737; Package emacs. (Wed, 25 Oct 2023 02:37:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Markus Triska <triska <at> metalevel.at>
Cc: 66737 <at> debbugs.gnu.org
Subject: Re: bug#66737: 30.0.50;
 Unexpected combination of double quote and acute accent
Date: Wed, 25 Oct 2023 05:35:48 +0300
> From: Markus Triska <triska <at> metalevel.at>
> Date: Wed, 25 Oct 2023 00:22:38 +0200
> 
> To reproduce this issue, please start Emacs with:
> 
>     $ emacs -Q
> 
> and then insert the following text in the *scratch* buffer:
> 
>     Ϊ́"
> 
> The expected appearance is: the letter Ι combined with diaeresis and
> acute accent, followed by double quote.
> 
> Instead, I see: the letter I combined with diaeresis, followed by
> double quote combined with acute accent.

Try another font.  On my system, the display is like you expect.

If you go to the letter I and type "C-u C-x =", what does Emacs say in
the *Help* buffer?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66737; Package emacs. (Thu, 26 Oct 2023 08:29:02 GMT) Full text and rfc822 format available.

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

From: Markus Triska <triska <at> metalevel.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 66737 <at> debbugs.gnu.org
Subject: Re: bug#66737: 30.0.50;
 Unexpected combination of double quote and acute accent
Date: Thu, 26 Oct 2023 10:27:35 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> Try another font.  On my system, the display is like you expect.
>
> If you go to the letter I and type "C-u C-x =", what does Emacs say in
> the *Help* buffer?

Please find the buffer content below.

Personally, I found that the DejaVu Sans Mono font works very well for
many use cases, and I would like to keep using it. Is there any way to
make it render this as intended?

Thank you and all the best,
Markus


             position: 295 of 324 (91%), column: 0
            character: Ι (displayed as Ι) (codepoint 921, #o1631, #x399)
              charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF))
code point in charset: 0x0399
               script: greek
               syntax: w 	which means: word
             category: .:Base, G:2-byte Greek, L:Strong L2R, c:Chinese, g:Greek, h:Korean, j:Japanese
             to input: type "C-x 8 RET 399" or "C-x 8 RET GREEK CAPITAL LETTER IOTA"
          buffer code: #xCE #x99
            file code: #xCE #x99 (encoded by coding system utf-8-unix)
              display: composed to form "Ϊ́" (see below)

Composed with the following character(s) "̈́" using this font:
  ftcrhb:-PfEd-DejaVu Sans Mono-regular-normal-normal-*-20-*-*-*-m-0-iso10646-1
by these glyphs:
  [0 2 921 760 12 1 11 18 0 nil]
  [0 2 776 649 12 4 10 16 -12 [0 0 0]]
with these character(s):
  ̈ (#x308) COMBINING DIAERESIS
  ́ (#x301) COMBINING ACUTE ACCENT

Character code properties: customize what to show
  name: GREEK CAPITAL LETTER IOTA
  general-category: Lu (Letter, Uppercase)
  decomposition: (921) ('Ι')

There are text properties here:
  fontified            t

[back]





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66737; Package emacs. (Thu, 26 Oct 2023 08:45:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Markus Triska <triska <at> metalevel.at>
Cc: 66737 <at> debbugs.gnu.org
Subject: Re: bug#66737: 30.0.50;
 Unexpected combination of double quote and acute accent
Date: Thu, 26 Oct 2023 11:43:26 +0300
> From: Markus Triska <triska <at> metalevel.at>
> Cc: 66737 <at> debbugs.gnu.org
> Date: Thu, 26 Oct 2023 10:27:35 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > Try another font.  On my system, the display is like you expect.
> >
> > If you go to the letter I and type "C-u C-x =", what does Emacs say in
> > the *Help* buffer?
> 
> Please find the buffer content below.

This says that Emacs did display the diaeresis, the acute accent, and
Ι as a single grapheme:

>               display: composed to form "Ϊ́" (see below)
> 
> Composed with the following character(s) "̈́" using this font:
>   ftcrhb:-PfEd-DejaVu Sans Mono-regular-normal-normal-*-20-*-*-*-m-0-iso10646-1
> by these glyphs:
>   [0 2 921 760 12 1 11 18 0 nil]
>   [0 2 776 649 12 4 10 16 -12 [0 0 0]]
> with these character(s):
>   ̈ (#x308) COMBINING DIAERESIS
>   ́ (#x301) COMBINING ACUTE ACCENT

So now I don't understand your original report, viz.:

> The expected appearance is: the letter Ι combined with diaeresis and
> acute accent, followed by double quote.
> 
> Instead, I see: the letter I combined with diaeresis, followed by
> double quote combined with acute accent.

How do you see that the acute accent is combined with the double
quote?  Emacs, above, says it's combined with Ι and the diaeresis, not
with the double quote.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66737; Package emacs. (Thu, 26 Oct 2023 09:08:01 GMT) Full text and rfc822 format available.

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

From: Markus Triska <triska <at> metalevel.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 66737 <at> debbugs.gnu.org
Subject: Re: bug#66737: 30.0.50;
 Unexpected combination of double quote and acute accent
Date: Thu, 26 Oct 2023 11:06:50 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> How do you see that the acute accent is combined with the double
> quote?  Emacs, above, says it's combined with Ι and the diaeresis, not
> with the double quote.

Yes, that's correct: What Emacs says is not what I see, I see the acute
accent combined with the double quote, here is a screenshot:

    https://www.metalevel.at/ei/issue66737.png

All the best,
Markus




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66737; Package emacs. (Thu, 26 Oct 2023 09:41:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Markus Triska <triska <at> metalevel.at>
Cc: 66737 <at> debbugs.gnu.org
Subject: Re: bug#66737: 30.0.50;
 Unexpected combination of double quote and acute accent
Date: Thu, 26 Oct 2023 12:40:09 +0300
> From: Markus Triska <triska <at> metalevel.at>
> Cc: 66737 <at> debbugs.gnu.org
> Date: Thu, 26 Oct 2023 11:06:50 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > How do you see that the acute accent is combined with the double
> > quote?  Emacs, above, says it's combined with Ι and the diaeresis, not
> > with the double quote.
> 
> Yes, that's correct: What Emacs says is not what I see, I see the acute
> accent combined with the double quote, here is a screenshot:
> 
>     https://www.metalevel.at/ei/issue66737.png

Then that's a problem with this font.  I see the same here when I use
DejaVu Sans Mono as the default font.  I think HarfBuzz developers
said several times that DejaVu Sans Mono is a problematic font.

I don't think this is an Emacs problem.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 04 Nov 2023 08:24:02 GMT) Full text and rfc822 format available.

Notification sent to Markus Triska <triska <at> metalevel.at>:
bug acknowledged by developer. (Sat, 04 Nov 2023 08:24:02 GMT) Full text and rfc822 format available.

Message #25 received at 66737-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: triska <at> metalevel.at
Cc: 66737-done <at> debbugs.gnu.org
Subject: Re: bug#66737: 30.0.50;
 Unexpected combination of double quote and acute accent
Date: Sat, 04 Nov 2023 10:22:42 +0200
> Cc: 66737 <at> debbugs.gnu.org
> Date: Thu, 26 Oct 2023 12:40:09 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: Markus Triska <triska <at> metalevel.at>
> > Cc: 66737 <at> debbugs.gnu.org
> > Date: Thu, 26 Oct 2023 11:06:50 +0200
> > 
> > Eli Zaretskii <eliz <at> gnu.org> writes:
> > 
> > > How do you see that the acute accent is combined with the double
> > > quote?  Emacs, above, says it's combined with Ι and the diaeresis, not
> > > with the double quote.
> > 
> > Yes, that's correct: What Emacs says is not what I see, I see the acute
> > accent combined with the double quote, here is a screenshot:
> > 
> >     https://www.metalevel.at/ei/issue66737.png
> 
> Then that's a problem with this font.  I see the same here when I use
> DejaVu Sans Mono as the default font.  I think HarfBuzz developers
> said several times that DejaVu Sans Mono is a problematic font.
> 
> I don't think this is an Emacs problem.

No further comments, so I'm now closing this bug.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66737; Package emacs. (Sat, 04 Nov 2023 09:19:01 GMT) Full text and rfc822 format available.

Message #28 received at 66737-done <at> debbugs.gnu.org (full text, mbox):

From: Markus Triska <triska <at> metalevel.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 66737-done <at> debbugs.gnu.org
Subject: Re: bug#66737: 30.0.50;
 Unexpected combination of double quote and acute accent
Date: Sat, 04 Nov 2023 10:17:41 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> No further comments, so I'm now closing this bug.

For me, the issue persists. Is there nothing that Emacs can or should do
about this? If so, then please ignore this issue.

Thank you and all the best,
Markus




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#66737; Package emacs. (Sat, 04 Nov 2023 09:29:02 GMT) Full text and rfc822 format available.

Message #31 received at 66737-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Markus Triska <triska <at> metalevel.at>
Cc: 66737-done <at> debbugs.gnu.org
Subject: Re: bug#66737: 30.0.50;
 Unexpected combination of double quote and acute accent
Date: Sat, 04 Nov 2023 11:28:04 +0200
> From: Markus Triska <triska <at> metalevel.at>
> Cc: 66737-done <at> debbugs.gnu.org
> Date: Sat, 04 Nov 2023 10:17:41 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > No further comments, so I'm now closing this bug.
> 
> For me, the issue persists. Is there nothing that Emacs can or should do
> about this? If so, then please ignore this issue.

It seems to be a problem with the font, so Emacs cannot do anything
about it, AFAIU.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Dec 2023 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 202 days ago.

Previous Next


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