[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird font problem
From: |
Joost Kremers |
Subject: |
Re: Weird font problem |
Date: |
Thu, 06 Jun 2024 09:15:20 +0200 |
On Thu, Jun 06 2024, Eli Zaretskii wrote:
> Then maybe we need to move all this to the bug tracker? Please submit
> a bug report with all the details. Bonus points for being able to
> show a recipe to reproduce the problem starting from "emacs -Q" (and
> loading any add-on packages needed for reproduction).
I'll try to do that. With 'emacs -Q' and just vertico loaded, the problem cannot
be reproduced. 'C-x 8 RET' followed by 'DOCU' shows hex boxes for all
candidates, so it seems there's something else in my config that is involved.
I'll try and figure out what that is.
>> > 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.
>
> Using set-fontset-font.
(set-fontset-font nil ?🗎 "Noto Sans Symbols 2:style=Regular")
makes the character appear (i.e., displayed correctly).
> So something Vertico does is special, if it has this effect. And the
> fact that you see these characters as hex codes elsewhere basically
> means that you lack a font for displaying these characters reliably.
> So maybe, instead of trying to understand how Vertico succeeds to pull
> this trick, you should find and install a font capable of displaying
> those characters when inserted into a "normal" buffer?
fc-list suggests I already have:
```
joost@sphinx ~$ fc-list ':charset=01f5ce'
/usr/share/fonts/noto/NotoSansSymbols2-Regular.ttf: Noto Sans Symbols
2:style=Regular
/usr/share/fonts/OTF/Font Awesome 6 Free-Regular-400.otf: Font Awesome 6
Free,Font Awesome 6 Free Regular:style=Regular
/usr/share/fonts/OTF/Font Awesome 6 Free-Solid-900.otf: Font Awesome 6
Free,Font Awesome 6 Free Solid:style=Solid
```
So why isn't Emacs finding it? (Yesterday, occasionally, I did get the correct
glyph when inserting DOCUMENT into a buffer, but every time, once I moved focus
away from the window, the hex box appeared. I couldn't find out under what
circumstances that happened, though, it seemed rather random...)
--
Joost Kremers
Life has its moments
- Weird font problem, Joost Kremers, 2024/06/05
- Re: Weird font problem, Eli Zaretskii, 2024/06/05
- Re: Weird font problem, Joost Kremers, 2024/06/05
- Re: Weird font problem, Eli Zaretskii, 2024/06/06
- Re: Weird font problem,
Joost Kremers <=
- Re: Weird font problem, Eli Zaretskii, 2024/06/06
- Re: Weird font problem, Joost Kremers, 2024/06/06
- Re: Weird font problem, Eli Zaretskii, 2024/06/15
- Re: Weird font problem, Robert Pluim, 2024/06/17