[Fontconfig] Turn off subpixel hinting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ole Jon Bj?rkum <objorkum@xxxxxxxxx> writes:

> I am using Fluxbox, and I notice that there are colors around my
> fonts (subpixel hinting or something). How can I turn it off? In
> GNOME I just used the "Fonts"-GUI, but I'm not sure how to do it in
> fonts.conf...

Something like this should do the job:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
  <edit name="rgba" mode="assign" binding="strong">
    <const>none</const>
  </edit>
</match>
</fontconfig>

Or set "Xft.rgba: none" as an X resource (which is probably what the
GNOME GUI is actually doing underneath -- it's certainly what the XFCE
one does).

-- 
Adam Sampson <ats@xxxxxxxxx>                         <http://offog.org/>


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux