You are not logged in.
I got a 23" wide screen LCD monitor (I used to be on a 17" LCD monitor).
fonts in Qt4/KDE applications look wonderful on both screens.
KDE and the fonts are just beautiful now on a wide screen.
But gtk+ applications and firefox fonts look like poo (used to look fine on old screen). I'm guessing this is a limitation in pango?
if so, how do I work around it? any patches or whatever for pango?
Last edited by hussam (2013-02-27 11:24:51)
Offline
It's freetype, not pango. Google for Infinality.
Offline
Qt doesn't use freetype?
Last edited by hussam (2013-02-27 11:53:53)
Offline
Put this in .Xresources (create it if it isn't there):
Xft.autohint: 0
Xft.antialias: 1
Xft.hinting: true
Xft.hintstyle: hintslight
Xft.dpi: 96
Xft.rgba: rgb
Xft.lcdfilter: lcddefaultAdjust according to preferences: hintslight, hintfull, hintmedium, rgb, grayscale and so on. Basically, recreate the values in your KDE font preferences panel. Run
xrdb -merge .Xresources. If it still doesn't work, create a file named .fonts.conf in ~ and put this in there:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</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>hintslight</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<match target="font"><edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>I'm guessing your LCD filter value isn't set. You may need to log out and back in. I had the same thing happen in Gnome. Vanilla freetype has better rendering than any of the patched packages IMO, it's just a matter of tweaking.
Last edited by elkoraco (2013-02-27 12:13:03)
Offline
can I make those systemwide changes? I don't really like per-user settings.
Offline
I think .fonts.conf would go into /etc/fonts/conf.d/51-local.conf
.Xresources can't be set system-wide AFAIK, but check: https://wiki.archlinux.org/index.php/Xresources
You may not need the .Xresources workaround, most applications I know of respect fontconfig, but I just do .Xresources as a safety measure.
Offline
You can also try what I posted here. It should work for any gtk application.
Best Regards.
Edit: It's mostly the same thing that elkorako told you to do, but the path of ~/.fonts.conf changed to ~/.config/fontconfig/fonts.conf a while ago.
Last edited by AurosGamma (2013-02-27 16:18:11)
Offline