all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Weird font problem
Date: Wed, 05 Jun 2024 22:59:51 +0200	[thread overview]
Message-ID: <868qzjgl6g.fsf@fastmail.fm> (raw)
In-Reply-To: <86ed9bk1z1.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 05 Jun 2024 15:28:50 +0300")

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

On Wed, Jun 05 2024, Eli Zaretskii wrote:
> Does Vertico display the character of the preview's current line in
> some special face, like bold or italics?  If so, it could be that the
> font used to show these symbols doesn't have the variant needed for
> that display.

I realised that I don't only have vertico, I also use marginalia, which is
responsible for the faces. Disabling marginalia (but keeping vertico) gives a
much more spartan look, but the issue remains:


[-- Attachment #2: Screenshot from 2024-06-05 15-11-31.png --]
[-- Type: image/png, Size: 13898 bytes --]

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


Moving the highlight still changes the characters to the box with hex
codepoints, and taking a screen shot changes all of them (with no way of getting
back the characters).

Vertico doesn't apply any special faces to the candidates, it just uses the
'highlight' face for the current selection, which only specifies a background
colour.

> Did you try to use a different font for this range of characters?
> Like Symbola, for example?

I'm not sure how to do that.

> Let's get out terminology right, to avoid confusion, okay?  These
> characters do not "appear" and "disappear".  They are sometimes
> displayed as their own glyphs and sometimes as boxes with hex
> codepoints, which means Emacs cannot find a font to display them.

Right, sorry for the confusion.

>> 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.
>
> Do "other applications" support Vertico?

No, sorry, what I meant was that I can copy & paste the characters into them and
they display fine.

> Does Emacs have problem displaying these characters in situations
> other than Vertico completion preview?

I mentioned Vertico because that's actually the only time the characters are
displayed. Anywhere else, e.g., if I insert them into a buffer, they
always appear as hex boxes.


-- 
Joost Kremers
Life has its moments

  reply	other threads:[~2024-06-05 20:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05  7:39 Weird font problem Joost Kremers
2024-06-05 12:28 ` Eli Zaretskii
2024-06-05 20:59   ` Joost Kremers [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868qzjgl6g.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.