GNOME Bugzilla – Bug 745758
fontconfig settings not applied for freetype-infinality-ultimate when run from .desktop file
Last modified: 2015-03-07 15:39:22 UTC
Created attachment 298743 [details] nautilus run from dash (.desktop file) - no font smoothening please observe the sidebar and popup menu text The text looks better with infinality patches on LCD/LED monitor. I installed infinality ultimate to smoothen the font rendering. it works on qt4 apps, firefox, libreoffice, but not on gtk3, *unless* we run the gtk3 app from gnome-terminal. If we run the program from dash or applications (superkey), the app has bad font rendering, but the same app when run from gnome-terminal shows proper smooth rendering as expected. I guess this is somehow related to wayland... I even compiled and installed cairo-freeworld package to no avail. Please see attachments, for visual confirmation. How to reproduce: 1. We need to install infinality ultimate (to test obviously say in gnome-boxes with installed fedora 21) --- su cd /etc/yum.repos.d/ wget http://download.opensuse.org/repositories/home:fastrizwaan/Fedora_21/home:fastrizwaan.repo yum install freetype-infinality-ultimate fontconfig-infinality-ultimate --- 2. reboot the f21 after installation of the above 2 (fontconfig and freetype) 3. after login, run nautilus/gedit from dash or overview apps, notice the lack of font smoothening, (after closing nautilus please do a 'killall nautilus' to flush it from memory) 4. open gnome-terminal, and run 'nautilus' or 'gedit', we can see that text is smooth and looks as expected. Expected Behavior: 1. The text should be smooth like it runs from gnome-terminal I suspect that gtk3 apps not reading the 'infinality-settings' environment varialbes (bash script) when launched from .desktop file, but loads them when run from terminal emulator. Thanks. if this bug is not related to gtk3, kindly assign to the related one, as I can't find which component font smoothening applies to.
Created attachment 298744 [details] nautilus run from gnome-terminal ($ nautilus) - *Proper* font smoothening please observe the sidebar and popup menu text
Created attachment 298745 [details] file ope dialog - gedit (run from .desktop file) - text not smooth
Created attachment 298746 [details] file open dialog - gedit (run from gnome-terminal) - text *smooth* as expected
This bug affects archlinux, opensuse 13.2, fedora 21/22. Better looking text rendering is important for reading. http://fedora-apps.blogspot.in/2015/03/install-freetype-infinality-ultimate-in.html https://github.com/bohoomil/fontconfig-ultimate/issues/54 Thanks.
GTK+ uses fontconfig properly. If the 'pimp my fonts' package you installed is really 'running scripts' as you say, it sounds more like a hack than a proper font configuration change. In any case, there is nothing to fix on our side here.