You are not logged in.

#1 2016-02-06 10:17:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

[SOLVED] Redundant "font settings" section in ~/.Xresources

Re:

! font settings --------------------------------------------------------------

Xft.autohint: true
Xft.antialias: true
Xft.hinting: true
Xft.hintstyle: hintslight
!Xft.dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefault

https://github.com/BunsenLabs/bunsen-co … Xresources

The font settings are controlled via ~/.config/fontconfig/fonts.conf so these lines are ignored.

Probably best to remove them?

Offline

#2 2016-02-06 10:56:36

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [SOLVED] Redundant "font settings" section in ~/.Xresources

No, there are applications which systematically ignore global fontconfig settings such as urxvt. It picks up Xresources though. xterm can do xft, fontconfig+freetype and bitmap fonts all at the same time.

To me it is also unclear where toolkits like gtk2, gtk3 and Qt get their font settings from since all of them store their own settings in various places…and it is not exactly clear which setting takes priority.

gtkrc-2.0:

gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"

gtk3's settings.ini:

gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

I don't think that this is a clear-cut case because the effect on applications may vary greatly, depending on how it does things. You'd need to do a complete QA of all types of applications and check if removing these settings changes something. Unless there is a concise overview somewhere.

Offline

#3 2016-02-06 11:21:20

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: [SOLVED] Redundant "font settings" section in ~/.Xresources

OK, thanks for the information.

Marked as [SOLVED]
smile

Offline

Board footer

Powered by FluxBB