regolith-desktop icon indicating copy to clipboard operation
regolith-desktop copied to clipboard

Output bug when changing Xresource i3-wm.bar.font

Open kryzar opened this issue 3 years ago • 4 comments

Hi,

I hope this is the right place to report this bug. I am trying to change the Xresource i3-wm.bar.font in ~/.config/regolith/Xresources to the font Fira Code (file located in ~/.fonts/fira-code/). Doing so generates an atrocious bug in the bottom bar, see screenshot below:

Screenshot from 2021-08-05 13-37-52

Is this a bug or a human mistake? I tried to use many font names as well as other fonts, but always had this bug.

Thanks a lot for your help and let me know if I can do anything.

kryzar avatar Aug 05 '21 13:08 kryzar

Hi @kryzar , you need to specify a font size as well. Also I would suggest you specify a fallback font if Fira Code does not have the icon characters. You can see what the value is set to by default like this:

$ xrescat i3-wm.bar.font
pango:JetBrains Mono Medium 13, Material Design Icons 13

So it may work if you try:

pango:Fira Code 13, Material Design Icons 13

kgilmer avatar Aug 05 '21 18:08 kgilmer

Hi Ken and thanks a lot for answering. I am afraid this did not work. I set the value (in order to try all possibilities) to:

~ xrescat i3-wm.bar.font
pango:Fira Code Regular 13, pango: Fira Code 13, pango: FiraCode Regular 13, pango:FiraCodeRegular 13, Material Design Icons 13

And the result is the same as the default config; there is still no Fira Code:

Screenshot from 2021-08-06 00-13-40

On this screenshot, you can as well see that the font name is correct and where it is installed. What am I missing? Also, what does pango mean?

P.-S.: This is a good occasion to say that Regolith Linux has been so far a great experience for me. I switched from macOS in order to try i3 and I feel you found a great balance between the Linux-DIY-philosophy and something useable for the average user.

kryzar avatar Aug 05 '21 22:08 kryzar

Came here to ask about this. I seem to be having the same issue, the only thing I can influence are the Material Design Icons - they react to size, and if I remove them, they appear to be broken / replaced by random characters, but the font still doesn't change.

kpuljek avatar Oct 25 '21 18:10 kpuljek

Experiencing same issue here. I am using pop-os regolith look theme, I checked to see if theme was overiding by editing /etc/regolith/styles/pop-os/typeface but no effect. Other font settings seem to work fine. Screenshot from 2022-03-02 11-29-29

aaron-watts avatar Mar 02 '22 11:03 aaron-watts