You are not logged in.

#1 2026-07-21 18:07:54

Therk
Member
Registered: 2023-02-02
Posts: 12

Font priority issue on waybar

I've used waybar for the past couple of months, however there's a weird issue with a specific character being rendered with the wrong font.

The character in question is U+efc5. I want my bar to display Nerdfont's memory icon (https://fontawesome.com/icons/classic/solid/memory). However, another font installed on my system also implements this character, so what actually renders on waybar (and everywhere else online I've found this character, which is a bit annoying) looks a lot like Box Drawings Down Double and Right Single (https://www.compart.com/en/unicode/U+2553)

I've figured out it's one of the ghostscripts fonts, uninstalling ghostscript fonts fixes the issue. However, that's not a valid solution because those fonts are a dependency for the pdf reader I use. Which also makes me believe that disabling the font system-wide is a bad idea.

Waybar's style.css seems to me like it should correctly tell that FontAwesome is the prefered font, so I'm at a bit of a loss here. Here is the first element of that file:

* {
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

Offline

#2 2026-07-21 19:49:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,891

Re: Font priority issue on waybar

"FontAwesome" is not technically a https://www.nerdfonts.com/font-downloads - which one do you actually use?

Offline

#3 Yesterday 16:52:05

Therk
Member
Registered: 2023-02-02
Posts: 12

Re: Font priority issue on waybar

seth wrote:

"FontAwesome" is not technically a https://www.nerdfonts.com/font-downloads

This was the exact issue. Turns out I got it mixed up, I added "symbols Nerd Font" to the font-family property, and it's fixed now. The first section of my waybar config now reads:

* {
    /* `otf-font-awesome` is required to be installed for icons */
    font-family: "Symbols Nerd Font", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
}

Last edited by Therk (Yesterday 17:10:56)

Offline

#4 Yesterday 18:48:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,891

Re: Font priority issue on waybar

\o/
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB