You are not logged in.
Here's a screenshot: http://i.imgur.com/kgT8x.png
Here's a GTK app for comparison: http://i.imgur.com/9sGSZ.png
The font isn't Tempus Sans ITC (which comes up as the default in Qtconfig); I'm not sure what it is. I tried removing ~/.config/Trolltech.conf, like they suggested here, but that didn't work. Fonts are fine in GTK apps. Any ideas?
Thanks!
Last edited by w1ntermute (2010-08-21 19:56:27)
Offline
It really looks like Qt uses a different kind of hinting than GTK+ on your settings.
Offline
Here's what's in ~/.fonts.conf:
<?xml version="1.0"?><!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>none</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintfull</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
</fontconfig>
When I deleted the file, it looked really bad: http://i.imgur.com/N0TK5.png
When I restored the file, it went back to normal.
Do I have to make some changes to it to fix the problem?
Last edited by w1ntermute (2010-08-20 18:57:06)
Offline
This might help with QT problem:
https://bbs.archlinux.org/viewtopic.php?id=85001
Btw, normally hintslight is good enough. If you want, my font config is here, which is made from the wiki article on font configuration. And looking at your gtk screenshot, I think the fonts are not using antialias settings at all. Also check in aur for cleartype or lcd type fonts, which look better than stock fonts on laptops and lcds.
Offline
When I deleted the file, it looked really bad
The first Picture you send is Half/Middle Hinting
That "really bad" look is completely disbled hinting
now you just have to find out how you enable full-hinting
Offline
Here's something extremely odd. This screenshot is from Deluge (a PyGTK app): http://i.imgur.com/z07cc.png
Some of the columns have the desired hinting (like "Size", "Progress", and "Up Speed"), while others don't. And look at the "1"s - the serifs are different for the two versions - are you sure it's the same font, just with different hinting?
This might help with QT problem:
https://bbs.archlinux.org/viewtopic.php?id=85001Btw, normally hintslight is good enough. If you want, my font config is here, which is made from the wiki article on font configuration. And looking at your gtk screenshot, I think the fonts are not using antialias settings at all. Also check in aur for cleartype or lcd type fonts, which look better than stock fonts on laptops and lcds.
OK, I'll take a look at that.
w1ntermute wrote:When I deleted the file, it looked really bad
The first Picture you send is Half/Middle Hinting
That "really bad" look is completely disbled hinting
now you just have to find out how you enable full-hinting
But I already have 'hintfull' in ~/.fonts.conf. Is that not correct?
Edit: I changed my GTK font from "Sans" to "Bitstream Vera Sans" (the two look identical) and everything seems to be OK now.
Last edited by w1ntermute (2010-08-21 19:56:14)
Offline
I found a second way.
Disable Subpixel (LCDs) Hinting in GNOME Font-Settings and enable Grayscale instead. After setting that the hinting is ok....
Last edited by Vamp898 (2010-08-24 23:08:20)
Offline
I found out what the real problem was. I was still having problems such as the default font in OpenOffice Writer being that other font, and not Times New Roman, by default. The font's name is "UmePlus P Gothic", and the real source of the issues was me adding
export LC_CTYPE=ja_JP.utf8
to my Openbox autostart script. I did this so that I would be able to view Japanese characters in urxvt, but that clearly caused other issues.
Offline