Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I can change the hinting and sub-pixel settings from /etc/fonts/conf.d or gnome-tweak-tool. What's the difference of those two methods?

It seems to me that google-chrome and gnome-terminal changes more obviously from /etc/fonts/.

share|improve this question

1 Answer 1

The difference is the two different font configuration systems:

  • fontconfig - which allows fine-grained control over font settings, per-font customization etc... via config files like /etc/fonts/conf.d/* or ~/.config/fontconfig/fonts.conf

versus

  • XSettings - used by DE (read gtk) and configurable via user-friendly GUI tools (like gsettings, gnome-tweak-tool etc.), with limited configuration options (global settings, i.e. no font specific options)

The choice to follow fontconfig settings or XSettings is implementation specific, e.g. Epiphany - a gtk app based on webkitgtk - when rendering webpages uses fontconfig settings because webkitgtk devs decided to follow fontconfig settings and ignore XSettings.

share|improve this answer
    
The problem is that Gnome by default ignores Xsettings, while GTK apps runing in non Gnome environment doesn't. Try inserting in .Xdefaults: !------------------------------------------------------------------------------‌​- ! Xft settings !------------------------------------------------------------------------------- Xft.dpi: 96 Xft.antialias: false Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintfull Xft.lcdfilter: lcddefault And run gtk app in Gnome and say Openbox: lack of antialising in Openbox will be obvious while Gnome would not react. Priorities are way different from DE to DE. –  IBr Aug 25 '13 at 8:34
    
OOPS non multi line code, but still you should have idea how to test. Even difference might be created by DM: same DE looks different with antiliasing when run from gdm and when from lxdm. –  IBr Aug 25 '13 at 8:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.