From: Joost Kremers <joostkremers@fastmail.fm>
To: gnu-emacs-help@gnu.org
Subject: Weird font problem
Date: Wed, 05 Jun 2024 09:39:07 +0200 [thread overview]
Message-ID: <86y17jsusk.fsf@fastmail.fm> (raw)
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
Hi list,
Apologies for the non-descript subject line, but I really don't know how to be
more precise... 😧
I'm running into a weird problem with displaying certain Unicode symbols. The
relevant symbols are not displayed in a normal buffer, because Emacs cannot find
a font set that has a glyph for them. However, when I try to insert such a
character with 'C-x 8 RET', with vertico installed, I see the following (trying
to insert DOCUMENT 0x01F5CE):
[-- Attachment #2: Screenshot from 2024-06-02 11-58-52.png --]
[-- Type: image/png, Size: 27155 bytes --]
[-- Attachment #3: Type: text/plain, Size: 168 bytes --]
The DOCUMENT character is replaced with the missing glyph box, but the other
characters *are* displayed. When I move the highlight down (M-n), the following
happens:
[-- Attachment #4: Screenshot from 2024-06-02 12-00-30.png --]
[-- Type: image/png, Size: 27354 bytes --]
[-- Attachment #5: Type: text/plain, Size: 274 bytes --]
Suddenly, DOCUMENT *is* displayed, and the character that is highlighted is not.
Moving the highlight further down or back up gives the same effect for the other
characters.
Things get even weirder, though: After taking a screen shot, suddenly *all*
characters are gone:
[-- Attachment #6: Screenshot from 2024-06-02 11-59-08.png --]
[-- Type: image/png, Size: 32763 bytes --]
[-- Attachment #7: Type: text/plain, Size: 887 bytes --]
This happens on two different computers, both running the same OS (Arch Linux;
GNOME 46 on Wayland) and Emacs version (GNU Emacs 29.3 (build 1,
x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)).
The fact that the symbols are displayed in the completion list suggests to me
that Emacs seems to have a way to find glyphs for them. If that is correct, then
why doesn't it find them when the characters are in a "normal" buffer?
Or is there something else that makes those characters appear, outside of Emacs'
control? The fact that taking a screen shot has such an effect seems to indicate
this...
And I'm also wondering what I can do to make Emacs find a glyph for these
characters. Other applications, including GNOME Terminal, gedit and LibreOffice
have to trouble displaying them.
Any and all hints are appreciated.
Joost
--
Joost Kremers
Life has its moments
next reply other threads:[~2024-06-05 7:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-05 7:39 Joost Kremers [this message]
2024-06-05 12:28 ` Weird font problem Eli Zaretskii
2024-06-05 20:59 ` Joost Kremers
2024-06-06 5:31 ` Eli Zaretskii
2024-06-06 7:15 ` Joost Kremers
2024-06-06 10:13 ` Eli Zaretskii
2024-06-06 11:12 ` Joost Kremers
2024-06-15 8:26 ` Eli Zaretskii
2024-06-17 8:16 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86y17jsusk.fsf@fastmail.fm \
--to=joostkremers@fastmail.fm \
--cc=gnu-emacs-help@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).