[SOLVED] Application fonts look different on kde4 vs on wmfs or fluxbox
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Application fonts look different on kde4 vs on wmfs or fluxbox
What can be done to make fonts on all applications look the same whether i use kde4 or some other window manager?
I like how kde4 displays fonts, but when i log into fluxbox or wmfs, gtk fonts are different, same goes for Opera. I've attached two screenshots of an opera popup menu. Fonts on wmfs (the second picture) look blurry.
I'm using qtcurve style for qt and gtk apps.
Dpi should be set to 96 on all wm-s.
I've resolved a problem with gtk fonts looking blurry in kde4, compared to qt ones, by deleting ~/.kde/share/config/gtkrc-2.0 and ~/.kde/share/config/gtkrc, but in other wms it is still the issue.
You will likely need to configure them in the styles or appearance sections of the respective Window manager. In Fluxbox, that is in the individual style.
No, that is not the case here, i'm sure. From the link above:
Quote:
First of all an important fact to know is that fluxbox doesn't control the font of external apps such as firefox or k3b. Those fonts are controlled by their related toolkits (gtk, qt,...), fluxbox fonts are only for the toolbar, the windowtitle and the menu (rootmenu, windowmenu, toolbarmenu...).
Gtk and qt fonts do look different, when used outside kde4. I wonder what is causing this? I've already set opera fonts to Dejavu Sans, but they are differently antialiased or hinted as seen in posted screenshots.
Edit: My ~/.gtkrc-2.0
Quote:
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
gtk-theme-name="QtCurve"
gtk-icon-theme-name="oxygen"
gtk-font-name="Liberation Sans 9"
gtk-cursor-theme-name="Segamini"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
include "/home/m/.gtkrc-2.0.mine"
Edit: Added gtk screenshots, cahnge is not so dramatic with gimp as with opera.
Consistency in fonts is not something I personally care about, but many person do, so it's really nice to have that information to pass along to others.
What is the difference of .font.conf and xsettingsd?
Can't answer that. I guess xsettingsd enables to configure (via ~/.xsettingsd), and load xft(?) or xsettings(?) font settings for lighter wms which doesn't already have dedicated 'gnome-settings-daemon'-like infrastructure in place to handle different approaches to fonts of different gui toolkits. I have no idea, but it worked.
My ~/.xsettingsd, mostly from the xsettingsd man page:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.