<---- template headericclude ----->
Can't turn off sub-pixel hinting in KDE
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 8 of 8
  1. #1
    stanmuffin Guest

    Can't turn off sub-pixel hinting in KDE

    FC2 with KDE looks beautiful on my desktop with its 17" CRT. But on my laptop, there are hideous color fringes on the outside of all text. My guess is KDE or FC2 discovered I have an LCD, and "helpfully" turned on sub-pixel hinting. But it looks awful--I'd prefer the plain grayscale antialiasing I get on my desktop.

    Unfortunately, if I go to Control Center | Appearances & Themes | Fonts and uncheck "Use sub-pixel hinting", there is absolutely no effect. Even after logging out and back in, killing X, or even rebooting. I can't get rid of the ugly sub-pixel hinting.

    Any ideas?

  2. #2
    Join Date
    May 2004
    Location
    Raleigh, NC
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you have to use the RedHat tool in Preferences>Font.
    Chess Griffin

  3. #3
    stanmuffin Guest
    I think you have to use the RedHat tool in Preferences>Font.
    I can't find any such tool. Are you by chance looking at GNOME? This problem only seems to apply to KDE.

  4. #4
    Join Date
    May 2004
    Location
    Raleigh, NC
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by stanmuffin
    I can't find any such tool. Are you by chance looking at GNOME? This problem only seems to apply to KDE.
    Yeah, I am thinking of Gnome (I'm not at my FC box right now). I think that tool is just one of the redhat-system-xxxx tools (which have all been renamed system-config-xxxx in FC2. I thought you could access all the redhat gui config tools in KDE.

    Can you go into gnome to make the change and then logout and log back in to kde? I don't know if that will work. It seems that if it's making changes to fontconfig it might stick across desktops.

    I'll take a look tonight when I'm back at my FC box and see if I can find it in KDE.
    Chess Griffin

  5. #5
    Join Date
    May 2004
    Location
    Raleigh, NC
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I'm logged in to KDE and you're right, the gnome font tool is not there. However, I had the same problem as you with the colors around the letters (FC is on a Dell laptop) and I went into the Control Center>Appearances & Themes>Fonts and in the Anti Aliasing part I left "Use anti-aliasing for fonts" checked and then in the "use sub-pixel hinting" I left that checked but changed it to Vertical BGR. I then clicked apply and logged out and logged back in to KDE and the colors around the letters were gone. I've got nice sharp antialiased fonts in KDE now.

    Have you tried all the various settings in this section? I can confirm at least that the control center works as far as changing the antialiasing on the fonts.
    Chess Griffin

  6. #6
    Join Date
    May 2004
    Location
    Raleigh, NC
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hold on -- I found how to get to the gnome font tool in KDE. Click on the "Start Here" Icon on your KDE desktop. In the right section, click on "Appearance & Themes". Then click "Fonts". This will bring up the gnome font tool in which you can also change the antialiasing and subpixel settings. In KDE, the change is not automatic. You'll only see the change in applications that have been quit and then restarted, or if you log out and log back in to KDE.

    HTH.
    Chess Griffin

  7. #7
    stanmuffin Guest
    If I go through that procedure, I get the exact same font configuration tool that I see in KDE's Control Center.

    I don't have GNOME installed, for what that's worth.

    I can choose BGR, or Vertical RGB, or Vertical BGR, and all these look different (but worse) than normal. But RGB subpixel hinting looks identical to what I see when the subpixel hinting option is entirely turned off.

  8. #8
    stanmuffin Guest
    Thanks for your help, Charlie; you got me on the right track.

    Even though I don't have the GNOME configurator since I don't have GNOME installed, I figured that if that one works and KDE's doesn't, KDE's must have some deficiency involved in writing the configuration file. So I decided to look at the configuration file myself (don't know why it took me so long to think of that--I must have been using Windows too long).

    Apparently, KDE's configurator simply removes any subpixel hinting settings from fonts.conf when you uncheck the option--but it also applies a default-on RGB if the screen is an LCD. So the effect is, you can't turn it off unless you do so by explicitly like this:

    (added the following to ~/.fonts.conf)

    <match target="font">
    <edit name="rgba" mode="assign"><const>none</const></edit>
    </match>

Similar Threads

  1. Replies: 10
    Last Post: 23rd May 2014, 06:36 AM
  2. "Use Sub-Pixel Hinting" checkbox disabled
    By Akdor 1154 in forum Using Fedora
    Replies: 2
    Last Post: 5th March 2008, 09:20 AM
  3. mouse too sensitive - hinting?
    By mcrae in forum Hardware
    Replies: 0
    Last Post: 1st June 2007, 03:17 PM
  4. freetype bytecode hinting
    By qinhan in forum Using Fedora
    Replies: 0
    Last Post: 23rd March 2006, 02:42 AM
  5. Freetype -- bytecode hinting howto (Answered)
    By opti in forum Using Fedora
    Replies: 2
    Last Post: 20th November 2005, 09:13 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]