You are not logged in.
Pages: 1
The font Firefox uses for its components (tab title, address bar, right-click context menu, about:preferences elements, etc) isn't the one specified by my gtk configs (~/.gtkrc-2.0 or ~/.config/gtk-3.0/settings.ini). Initially it was displaying as a monospace font, but I fixed that by deleting /etc/gtk-2.0/gtkrc and /etc/gtk-3.0/settings.ini and the font displayed correctly. After updating earlier, Firefox now displays with some serif font (probably georgia), and I can't figure out how to get it to use my gtk themed font.
Tried downgrading Firefox, playing around with font-config, setting the system-wide gtk theme, clean profile, rebooting and probably some other things I'm forgetting, no dice. Any advice would be great, thanks.
Offline
What DE/WM are you using?
Is it Wayland or Xorg session?
Do you run Firefox with Wayland or X11 backend?
Offline
What DE/WM are you using?
Is it Wayland or Xorg session?
Do you run Firefox with Wayland or X11 backend?
i3-gaps, xorg, x11
Offline
Can you run this command and check if it makes any change for you?
gsettings set org.gnome.desktop.interface font-name "<NAME> <SIZE>"
Offline
Thanks, I gave it a go but couldn't observe any changes.
Offline
Please paste the output of this two commands
cat ~/.config/gtk-3.0/settings.ini
gsettings get org.gnome.desktop.interface font-name
Offline
What if you change font?
In the past i've had troubles with one in particular (but can't remember which one), "rejected" only by firefox.
-EDIT-
Oh, now i remember.
Using kde to set the gtk-3 font, it wrote that:
koko@Gozer# grep font ~/.config/gtk-3.0/settings.ini
gtk-font-name=PT Sans [PARA] Regular 10
That way, firefox ignored PT Sans and used Liberation Sans instead, but modifying it with the following made it work:
koko@Gozer# grep font ~/.config/gtk-3.0/settings.ini
gtk-font-name=PT Sans 10
Last edited by kokoko3k (2019-06-18 12:15:08)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline
Please paste the output of this two commands
cat ~/.config/gtk-3.0/settings.ini
gsettings get org.gnome.desktop.interface font-name
$ cat ~/.config/gtk-3.0/settings.ini
[Settings]
gtk-icon-theme-name = "Arc"
gtk-theme-name = "Arc-Dark"
gtk-font-name = "Source Han Sans JP 8"
$ gsettings get org.gnome.desktop.interface font-name
'Source Han Sans JP 8'
What if you change font?
In the past i've had troubles with one in particular (but can't remember which one), "rejected" only by firefox.-EDIT-
Oh, now i remember.
Using kde to set the gtk-3 font, it wrote that:koko@Gozer# grep font ~/.config/gtk-3.0/settings.ini gtk-font-name=PT Sans [PARA] Regular 10
That way, firefox ignored PT Sans and used Liberation Sans instead, but modifying it with the following made it work:
koko@Gozer# grep font ~/.config/gtk-3.0/settings.ini gtk-font-name=PT Sans 10
I've tried setting a few different fonts in ~/.config/gtk-3.0/settings.ini but nothing seems to change it.
Offline
Did you solve it? I have the same issue...
Interestingly, when I boot to Gentoo, with the same $HOME, the font if firefox menu is OK.
Maybe it is a was firefox is compiled in Arch?
Offline
Not sure if Firefox though - Chromium looks the same bad way...
Offline
Your (default) font configuration is probably set to some font installed on gentoo but not arch.
Offline
I'm not sure where to check that - my /usr/share/fonts is identical (I rsynced it) and .fonts as well (same $HOME)
Offline
Also, other programs (Terminal, caja etc.) look OK
Offline
fc-match sans
fc-match serif
fc-match monospace
on either system. Then to get the full path (on either system)
fc-list | grep <filename>
where <filename> is the part before the colon.
Also, mind you, the fonts configured on ~/.gtk* and ~/.config/gtk* will matter.
Offline
Yes, you were right - they were different.
I finally *SOLVED* it by copying the /etc/fonts/conf.d/ from my Gentoo install - now it looks the same!
Offline
You got to edit your initial posts subject to mark the thread SOLVED ;-)
Offline
This is not my post...
Offline
Pages: 1