You have been subscribed to a public bug:

If I use Gnome, tweak my fonts (choose a specific font, make it
antialiased with subpixel hinting with slight hinting and RGB), my fonts
look good in GTK applications. However, if I install a Qt application
such as Skype, my fonts don't look as good. This is because Qt
applications don't find information regarding fonts settings, and
therefore, use a default font-rendering configuration. A simple fix to
this is, when changing font configurations in Gnome, creating also a
~/.fonts.conf file with the information for Qt applications. For
instance:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
        <match target="font">
                <edit name="rgba" mode="assign">
                        <const>rgb</const>
                </edit>
        </match>
        <match target="font">
                <edit name="rgba" mode="assign">
                        <const>rgb</const>
                </edit>
                <edit name="hinting" mode="assign">
                        <bool>true</bool>
                </edit>
                <edit name="hintstyle" mode="assign">
                        <const>hintslight</const>
                </edit>
        </match>
</fontconfig>

This way, font rendering in Qt applications is always the same as in GTK 
applications, hence a more consistent desktop look and feel.
See before: http://lyncis.info/wp-content/uploads/2008/06/qt4-fonts-bad.png
And after: http://lyncis.info/wp-content/uploads/2008/06/qt4-fonts-good.png
More info: http://lyncis.info/post/189/en
Thanks,

** Affects: qt4-x11 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Apply font configurations to Qt applications also
https://bugs.launchpad.net/bugs/346364
You received this bug notification because you are a member of Kubuntu Bugs, 
which is subscribed to qt4-x11 in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to