<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- TIPS & TRICKS
  Place settings in /etc/fonts/local.conf file to configure system font access
  If antialias disabled, then also disable sub-pixel rendering.
  Edit KDE font sizes in ~/.kde/share/config/kdeglobals
  autohinter is NOT affected by hintstyle, nor possibly by rgba
-->

<fontconfig>
  <!-- DPI Settings (72, 96, 120, etc.) --> 
  <match target="pattern" >
      <edit mode="assign" name="dpi" >
        <double>96</double>
    </edit>
  </match>

  <match target="font" >
    <!-- sub-pixel rending (none, rgb, vrgb, bgr, vbgr,  -->
    <edit mode="assign" name="rgba" >
      <const>vrgb</const>
    </edit>
    <edit mode="assign" name="autohint" >
      <bool>true</bool>
    </edit>
    <edit mode="assign" name="hinting" >
      <bool>false</bool>
    </edit>
    <!-- hinting style (hintnone, hintslight, hintmedium, hintfull ) -->
    <edit mode="assign" name="hintstyle" >
      <const>hintmedium</const>
    </edit>
    <edit mode="assign" name="antialias" >
      <bool>true</bool>
    </edit>
  </match>

  <!-- toggle hinting for bolded Fonts (true/false) 
  <match target="font">
    <test name="weight" compare="more"><const>medium</const></test>
    <edit name="autohint" mode="assign"><bool>false</bool></edit>
  </match>
  -->
  
  <!-- disable antialiasing for small fonts 
  <match target="pattern">
    <test qual="any" name="size" compare="less_eq"><int>12</int></test>
    <edit name="antialias" mode="assign"><bool>false</bool></edit>
  </match> 
  -->
  
  <!-- exclude/include a range of fonts for Antialiasing 
  <match target="font">
    <test name="size" compare="less" qual="any"><double>7</double></test>
    <test name="pixelsize" compare="less" qual="any"><double>14</double></test>
    <edit name="antialias" mode="assign"><bool>false</bool></edit>
  </match>
  -->
  
  <!-- Windows classic font appearance 
  <match target="font">
    <test compare="more" name="size" qual="any"><double>12</double></test>
    <edit mode="assign" name="antialias"><bool>true</bool></edit>
  </match>
  <match target="font">
    <test compare="more" name="pixelsize" qual="any"><double>17</double></test>
    <edit mode="assign" name="antialias"><bool>true</bool></edit>
  </match>
  -->
  
  <!-- font replacement
  <match target="pattern">
    <test name="family"><string>Sans</string></test>
    <edit name="family" mode="assign"><string>Arial</string></edit>
  </match>
  -->

  <!-- custom font directories --> 
  <dir>/home/thayer/.fontsTemp</dir>

</fontconfig>


