View previous topic :: View next topic |
Author |
Message |
Dr. Banana n00b
Joined: 04 Aug 2021 Posts: 46
|
Posted: Sun Sep 05, 2021 12:51 pm Post subject: [Solved] Firefox uses serif font in say, sans in xorg |
|
|
I use firefox-bin. On dwm the firefox ui (tabs, preferences panel etc.) uses sans-serif fonts, but on swaywm, it uses serif fonts. Here is the difference: https://ibb.co/GvLDZvs
My Code: | eselect fontconfig list | :
Code: | [1] 09-texlive.conf
[2] 10-autohint.conf
[3] 10-hinting-full.conf
[4] 10-hinting-medium.conf
[5] 10-hinting-none.conf
[6] 10-hinting-slight.conf
[7] 10-no-sub-pixel.conf
[8] 10-scale-bitmap-fonts.conf
[9] 10-sub-pixel-bgr.conf
[10] 10-sub-pixel-rgb.conf
[11] 10-sub-pixel-vbgr.conf
[12] 10-sub-pixel-vrgb.conf
[13] 10-unhinted.conf
[14] 11-lcdfilter-default.conf
[15] 11-lcdfilter-legacy.conf
[16] 11-lcdfilter-light.conf
[17] 20-unhint-small-dejavu-sans.conf
[18] 20-unhint-small-dejavu-sans-mono.conf
[19] 20-unhint-small-dejavu-serif.conf
[20] 20-unhint-small-vera.conf
[21] 25-unhint-nonlatin.conf
[22] 30-metric-aliases.conf
[23] 40-nonlatin.conf
[24] 45-generic.conf
[25] 45-latin.conf
[26] 49-sansserif.conf
[27] 50-user.conf
[28] 51-local.conf *
[29] 57-dejavu-sans.conf *
[30] 57-dejavu-sans-mono.conf *
[31] 57-dejavu-serif.conf *
[32] 60-generic.conf
[33] 60-latin.conf
[34] 60-liberation.conf
[35] 61-stix.conf
[36] 65-fonts-persian.conf
[37] 65-khmer.conf
[38] 65-nonlatin.conf
[39] 66-noto-mono.conf
[40] 66-noto-sans.conf
[41] 66-noto-serif.conf
[42] 69-unifont.conf
[43] 70-no-bitmaps.conf
[44] 70-yes-bitmaps.conf
[45] 80-delicious.conf
[46] 90-synthetic.conf |
_________________ Haters gonna hate,
Potatoes gonna potate.
Last edited by Dr. Banana on Sat Sep 11, 2021 10:31 am; edited 1 time in total |
|
Back to top |
|
|
dbtx Tux's lil' helper
Joined: 20 Jan 2020 Posts: 117
|
Posted: Mon Sep 06, 2021 9:17 am Post subject: |
|
|
FF on sway has wrong text here so I went back and tried some things and found gsettings, which of course is different from gconftool. Code: | $ gsettings list-recursively |grep font
~snip~
org.gnome.desktop.interface font-name 'Cantarell 11'
| and of course that's wrong, so I tried Code: | $ gsettings set org.gnome.desktop.interface font-name 'DejaVu Sans 8' | and FF's interface instantly went back to 'normal' but the DPI is wrong partly because I only know how to force that in X. I'm pretty sure I don't have that other font and it was defaulting to Sans anyway so it just corrected the relative size. :shrug: This isn't necessarily a solution but when I logged out of sway and the console and went back in, it was still the way I had left it.
gsettings belongs to gnome-base/gsettings-desktop-schemas and it might only be installed here due to carelessness. But gconf-editor doesn't show any of those org.gnome.desktop keys. sigh
HTH |
|
Back to top |
|
|
Dr. Banana n00b
Joined: 04 Aug 2021 Posts: 46
|
Posted: Sat Sep 11, 2021 10:28 am Post subject: |
|
|
dbtx wrote: | FF on sway has wrong text here so I went back and tried some things and found gsettings, which of course is different from gconftool. Code: | $ gsettings list-recursively |grep font
~snip~
org.gnome.desktop.interface font-name 'Cantarell 11'
| and of course that's wrong, so I tried Code: | $ gsettings set org.gnome.desktop.interface font-name 'DejaVu Sans 8' | and FF's interface instantly went back to 'normal' but the DPI is wrong partly because I only know how to force that in X. I'm pretty sure I don't have that other font and it was defaulting to Sans anyway so it just corrected the relative size. :shrug: This isn't necessarily a solution but when I logged out of sway and the console and went back in, it was still the way I had left it.
gsettings belongs to gnome-base/gsettings-desktop-schemas and it might only be installed here due to carelessness. But gconf-editor doesn't show any of those org.gnome.desktop keys. sigh
HTH |
Thanks! It fixed my problem (I don't have any DPI issues). _________________ Haters gonna hate,
Potatoes gonna potate. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|