Help - Search - Members - Calendar
Full Version: /etc/fonts/local.conf
Neowin Forums > *nix Customization & Support > Customizing your *nix Desktop
contra
CODE
<?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.
kjordan2001
Mine just enables sub-pixel rendering, then Gnome does the rest:
CODE
<?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>
chavo
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.
contra
Quote - (chavo @ Nov 27 2004, 13:30)
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.
[snapback]584997860[/snapback]



whoa... just tried that.

looks really good but the fonts are just too big for my tastes.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.