[Bug 346364] [NEW] Apply font configurations to Qt applications also

Charles landemaine at gmail.com
Sat Mar 21 14:44:27 UTC 2009


Public bug reported:

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: meta-gnome2 (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 Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list