font settings do not applied globally (for every apps)
Hi dear Linux fans!
system settings of fonts' type do not affect in some application (golden dict, transmission, icedove, for instance). Using KDE SystemSettings all parametres of fonts was set up both for KDE and GTK apps but some apps use other font (Droid Serif) instead of user defined. Old kde's configuration files was removed after install Debian and then all settings were setup again; old configuration files of applications were kept but I hesitate that above mentioned applications store font settings in their configuration folder (.goldendict, for instance). I solved this problem in case of Icedove by editing chrome.css. But it is a particular solution. I try understand in general why some apps ignore sytem settings of fonts? My questions is how this problem could be fixed? Thank you in advance. P.S. Moreover cyrillic letters of Droid Serif rendered ugly and this is a second reason I try to use other fonts. Other fonts rendered ok (for me). KDE 4.14.2, Jessie. http://s33.postimg.org/wspoxj54f/icedove_rus.png |
Hey,
You can create .gtkrc-2.0 in your home (assuming the problems are with GTK+2 apps) and put the following: Code:
gtk-font-name="[YOURFONTHERE, e.g. Droid Sans 11]" For me this hints fonts fully (probably a bug), so I also created .Xdefaults in my home and put the following there: Code:
Xft.autohint: 0 |
Quote:
that is the key to solving your problem. |
Quote:
|
Thank you Mitt Green for your reply.
There are .gtkrc-2.0 and .gtkrc-2.0-kde4 (in home folder) contain follow: Code:
# File created by KDE Gtk Config As I understood your 2nd suggestion (.Xdefaults) concerns font rendering. My first task is apply my settings of type and size of font to all apps and 2nd — fix rendering of ru_Droid (other fonts rendered ok). |
Thank you ondoho for your reply.
problem concerns main area of window of transmission-QT (v. 2.83), goldendict. Menus, window titles use user defined font settings. http://s33.postimg.org/56pls7b7z/tr_QT.png And problem concerns dialoge windows, menus, toolbars of libreoffice http://s33.postimg.org/lwqf3xg27/libreoffice_font.png |
i don't understand.
all your screenshots use a serif font, i assume it's droid serif. your ~/.gtkrc-2.0 reads, correctly, that your system is using "DejaVu Serif Book 12". i fail to see the problem. if you are trying to set another font through the gui, and it does not affect, well maybe you are using the wrong utility? you can also try to simply Code:
rm ~/.gtkrc-2.0* |
All times are GMT -5. The time now is 04:40 PM. |