[Fontconfig] Default font size

Felix Miata mrmazda at earthlink.net
Wed Aug 24 18:37:43 PDT 2011

On 2011/08/24 13:10 (GMT+0300) Aekold Helbrass composed:

> Tell me please is it possible to set font sizes in fontconfig? I've
> configured hinting, rendering and antialiasing settings system-wide
> and it works great, but still my KDE is using 8pt fonts, gnome apps by
> default are 9 or 10, and java apps are 11 or 12. I'd like to configure
> those settings system-wide...

In recent distros I've used, KDE4's default and menu font size is 9pt. I've 
never run across 8pt as default, but 10pt used to be common.

Something to check is whether everything is running the same DPI. I don't use 
Gnome, but under KDE it's possible for some apps to operate under a different 
DPI than others. You should check whether DPI is forced anywhere. I suppose 
Gnome might be forcing 96 using a method that KDE apps don't see. Some 
environments and distros set Xft.dpi, while others don't, and those that do 
don't all set it the same way. 
http://fm.no-ip.com/Auth/Font/fonts-ptdemo.html may be of some assistance in 
assessing DPI, in addition to xdpyinfo and xrdb.

Generally if DPI needs to be forced it's more effective/uniform overall to 
set it via DisplaySize in /etc/X11/xorg.conf or a monitor.conf file in 
/etc/X11/xorg.conf.d/ than it is using a DTE-specific config method.
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

More information about the Fontconfig mailing list