LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-20-2006, 08:27 PM   #1
milkycow
LQ Newbie
 
Registered: Jan 2004
Posts: 29

Rep: Reputation: 15
GTK 2.8 Subpixel Hinting?


It seems that my regular GTK apps stopped having subpixel hinting while my Qt apps and Firefox are still fine. Is there a problem with GTK 2.8?
I tried to install Xorg 7.1 from http://sourceforge.net/project/showf...roup_id=177157 shortly after the upgrade to 11.0 but uninstalled it later, leaving some symlinks pointing to nonexistent places. So far I have tried reinstalling Gtk, Pango, Cairo, and Freetype (custom compile with bytecode interpreter enabled), but still no subpixel hinting in pure GTK apps.
 
Old 11-21-2006, 01:09 AM   #2
milkycow
LQ Newbie
 
Registered: Jan 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Did some more research on this issue. Since GTK 2's font rendering is done by Pango, Cairo, and Fontconfig I reinstalled those packages to make sure they are clean. Experimenting with ~/.font.conf shows that GTK 2 font rendering follows it for AA and hinting, but not subpixel hinting.
Then I compiled freetype 2.1.9 from the slackbuild with bytecode interpreter on, still no subpixel hinting in GTK apps.
Does anyone else have the same problem with GTK apps not using subpixel hinting?
The problem could be caused by Pango no longer directly accessing Freetype internals (as the freetype website says) and thus failing to utilize subpixel hinting. But I can't tell until I determine whether my problem is specific to my system or not.
Help a guy out and tell me whether I have a fsck'd installation please?
 
Old 09-17-2011, 08:18 AM   #3
lensquest
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
(I know this is an ancient thread)

Quote:
Originally Posted by milkycow View Post
Is there a problem with GTK 2.8?
Yes, in a way. GTK+ switched to detecting whether to use subpixel rendering based on what sort of monitor the user has. Based on testing: if it detects a CRT it respects fontconfig settings; if it detects an LCD it forces subpixel rendering settings.

You can still override this with your X resources; I have this in my .Xdefaults (to get nicely antialiased fonts without colours):
Code:
Xft.rgba: none
I'm betting the other options are "rgb" and "bgr".
 
1 members found this post helpful.
Old 09-17-2011, 09:07 AM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 3,324

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
More detail here:
http://www.freedesktop.org/wiki/ScreenFontSettings


Thanks lensquest, someone may stumble upon this and find it useful. Sub-pixel rendering has never been successful at doing anything other than making things look worse for me, so it may even be me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK Applications Not Respecting Subpixel Settings tvynr Linux - Desktop 1 09-06-2006 06:42 PM
dropline + kcontrol = hinting broken :( daspooky Slackware 3 03-31-2006 08:01 AM
Installing True Type Fonts and Hinting? keogk Suse/Novell 1 10-11-2005 11:29 PM
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
Firefox not using subpixel antialiasing? wintermute222 Linux - Software 6 03-15-2004 12:40 AM


All times are GMT -5. The time now is 05:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration