Recommended Posts

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>

<!-- Use the Autohinter -->
<match target="pattern">
   <edit name="autohint" mode="assign">
      <bool>true</bool>
   </edit>
</match>

<!-- Disable anti-aliasing for bold fonts -->
<match target="font">
    <test name="weight" compare="more">
        <const>medium</const>
    </test>
    <edit name="autohint" mode="assign">
        <bool>false</bool>
    </edit>
</match>

<!-- Disable anti-aliasing for fonts that are size <=10 -->
<match target="pattern">
   <test qual="any" name="size" compare="less_eq">
      <int>10</int>
   </test>
       <edit name="autohint" mode="assign">
        <bool>false</bool>
    </edit>
</match>

</fontconfig>

Here is mine, I have been working on trying to get fonts looking perfect. I am wondering if anybody has gotten their fonts "perfect" and would like to share their config file.

Link to comment
https://www.neowin.net/forum/topic/249686-etcfontslocalconf/
Share on other sites

Mine just enables sub-pixel rendering, then Gnome does the rest:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<!--
  Enable sub-pixel rendering
        <match target="font">
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
-->
</fontconfig>

Yup, I haven't touched my font config files and the fonts look awesome. I just jack up my DPI to 110 and the fonts couldn't be clearer.

584997860[/snapback]

whoa... just tried that.

looks really good but the fonts are just too big for my tastes.

Edited by contra
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.