After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576200 - Apply font configurations to Qt applications also
Apply font configurations to Qt applications also
Status: RESOLVED DUPLICATE of bug 519706
Product: gnome-control-center
Classification: Core
Component: [obsolete] font properties
2.24.x
Other All
: Normal enhancement
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-21 14:44 UTC by Charles A. Landemaine
Modified: 2009-03-25 18:17 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Charles A. Landemaine 2009-03-21 14:44:51 UTC
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,
Comment 1 Jens Granseuer 2009-03-25 18:17:37 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 519706 ***