You are not logged in.

#1 2011-06-05 18:15:22

mjn
Member
Registered: 2011-06-05
Posts: 7

[SOLVED] Fat fonts in KDE

Hi everyone,

I'm using the ubuntu patched packages from AUR and my fonts look great on GTK apps but they look fat (bold) in KDE/Qt apps. I recall this happened too with the infinality packages so I'm sure it must be some configuration option, maybe some leftover from all the font things I've tried and messed with to get the fonts how I wanted.

I want my fonts in KDE apps to look like the GTK ones as in the screenshot attached. Any ideas what might be the problem?

GTK

KDE

Here's my /etc/fonts/fonts.conf ~/.fonts.conf in case it helps.

Thanks.

Last edited by mjn (2011-06-06 19:33:16)

Offline

#2 2011-06-05 19:49:46

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: [SOLVED] Fat fonts in KDE

I don't use KDE, so I'm pretty unfamiliar with it, but based on the fact your fonts look different in GTK vs KDE apps, I would assume your problem lies in your KDE font configuration, specifically.

You might want to look into how KDE fonts are configured  (using some KDE configuration manager), and see if the application fonts you are seeing are set to a bold font, rather than a regular font like in GTK.

ie. I don't think your problem involves font.conf.

Last edited by CheesyBeef (2011-06-05 19:50:57)

Offline

#3 2011-06-05 19:59:10

mjn
Member
Registered: 2011-06-05
Posts: 7

Re: [SOLVED] Fat fonts in KDE

Thanks for your reply.

I don't think I have any specific configuration for GTK apps (GNOME was never installed on this PC) and I have KDE configured to "Use my KDE fonts in GTK applications".

Here and here's a screenshot of my font settings in KDE. Notice I have the font type set to Regular, not bold. The Light version is not quite what I want either, it's too thin, all I want is the fonts as they show in GTK smile

Offline

#4 2011-06-05 20:02:02

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: [SOLVED] Fat fonts in KDE

Hmm, where/how did you set "Use my KDE fonts in GTK applications"?

Offline

#5 2011-06-05 20:05:55

mjn
Member
Registered: 2011-06-05
Posts: 7

Re: [SOLVED] Fat fonts in KDE

It's part of KDE or maybe from of the oxygen-gtk package I think.

Screenshot

Offline

#6 2011-06-05 20:53:30

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: [SOLVED] Fat fonts in KDE

Hmm, I'm really not sure what could be going on, but I'm still leaning towards it being a problem with the KDE font configuration.  But, like I said, I don't have KDE installed to scope around unfortunately :\

Offline

#7 2011-06-06 07:53:03

hermes
Member
From: Lucca, Italy
Registered: 2010-05-19
Posts: 99

Re: [SOLVED] Fat fonts in KDE

mjn wrote:

I'm using the ubuntu patched packages from AUR...

Which ones?
I've got installed cairo-ubuntu fontconfig-ubuntu freetype2-ubuntu libxft-ubuntu and keep installed an old version of ubuntu fonts. My configuration looks exactly the same as yours, so, according to this (read the comments), you could try changing the hinting style from slight to medium in system settings/fonts/configure anti-aliasing. It will overwrite your ~/.fonts.conf, so do a backup copy before wink
Or, better, if your ttf-ubuntu-font-family version is 0.71.2-1, downgrade it to 0.70.1, the third comment from the top will instruct you on how to do that.
If it doesn't work, could you please post the directory listing of /etc/fonts/conf.d ?


Linux Registered User #362737

Offline

#8 2011-06-06 19:32:34

mjn
Member
Registered: 2011-06-05
Posts: 7

Re: [SOLVED] Fat fonts in KDE

Thanks man, that did it!

Offline

#9 2011-06-10 22:28:15

hal8000
Member
Registered: 2011-05-20
Posts: 46

Re: [SOLVED] Fat fonts in KDE

mjn wrote:

It's part of KDE or maybe from of the oxygen-gtk package I think.

Screenshot


I just installed oxygen-gtk package but cannot find the above configuration screen,
in kde4.6
I have the opposite problem, fonts in non-kde  apps are a little thin and small, e.g.
toolbar in firefox, menu and toolbars in gedit, gftp etc.

Im using kde4.6.3 at moment, resolution:

xdpyinfo | grep -B1 dot
  dimensions:    1280x1024 pixels (338x270 millimeters)
  resolution:    96x96 dots per inch

Thanks in advance.

Offline

#10 2011-06-10 22:37:22

mjn
Member
Registered: 2011-06-05
Posts: 7

Re: [SOLVED] Fat fonts in KDE

Hmm try installing the gtk-qt-engine package.

Offline

#11 2011-06-10 22:50:50

hal8000
Member
Registered: 2011-05-20
Posts: 46

Re: [SOLVED] Fat fonts in KDE

mjn wrote:

Hmm try installing the gtk-qt-engine package.

Thank you mjn (that's the setting that eluded me!)

Now not only does firefox and gtk apps look good, but the bookmarks
folder in firefox now has good looking H20 folder icons, thanks a million.
[Solved]

Offline

#12 2011-12-07 14:53:23

Djzn.BR
Member
Registered: 2010-07-23
Posts: 2

Re: [SOLVED] Fat fonts in KDE

I solved this issue downgrading the 0.80 version of ubuntu fonts to 0.70.1 as hermes told.
You may miss some of the Light and Mono versions because they were not included in this version.
However you can keep the Mono and Light versions from the 0.80 version package.

http://font.ubuntu.com/download/ubuntu- … 0.70.1.zip

Now KDE works with Ubuntu fonts in the same way GNOME does.
No font rendering engine changes are necessary (I'm using Ubuntu's).

Offline

Board footer

Powered by FluxBB