unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Weird font problem
@ 2024-06-05  7:39 Joost Kremers
  2024-06-05 12:28 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Joost Kremers @ 2024-06-05  7:39 UTC (permalink / raw)
  To: gnu-emacs-help

[-- 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

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

end of thread, other threads:[~2024-06-17  8:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05  7:39 Weird font problem Joost Kremers
2024-06-05 12:28 ` 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

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).