devurandom

~/.fonts.com

Sep 7th, 2012
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.41 KB | None | 0 0
  1. <?xml version='1.0'?>
  2. <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
  3. <fontconfig>
  4.  <match target="font">
  5.  <edit mode="assign" name="rgba">
  6.  <const>rgb</const>
  7.  </edit>
  8.  </match>
  9.  <match target="font">
  10.  <edit mode="assign" name="hinting">
  11.  <bool>true</bool>
  12.  </edit>
  13.  </match>
  14.  <match target="font">
  15.  <edit mode="assign" name="hintstyle">
  16.  <const>hintfull</const>
  17.  </edit>
  18.  </match>
  19.  <match target="font">
  20.  <edit mode="assign" name="antialias">
  21.  <bool>true</bool>
  22.  </edit>
  23.  </match>
  24.  <!-- Disable autohint for bold fonts so they are not overly bold -->
  25.  <match target="font" >
  26.  <test compare="more" name="weight" >
  27.  <const>medium</const>
  28.  </test>
  29.  <edit mode="assign" name="autohint" >
  30.  <bool>false</bool>
  31.  </edit>
  32.  </match>
  33.  <!-- see http://bb.cactii.net/archives/000170.php -->
  34.  <match target="pattern" >
  35.   <test name="family" qual="any" >
  36.    <string>Helvetica</string>
  37.   </test>
  38.   <edit mode="assign" name="family" >
  39.    <string>Nimbus Sans</string>
  40.   </edit>
  41.  </match>
  42.  <!-- my own -->
  43.  <match target="pattern" >
  44.   <test name="family" qual="any" >
  45.    <string>Courier</string>
  46.   </test>
  47.   <edit mode="assign" name="family" >
  48.    <string>Liberation Mono</string>
  49.   </edit>
  50.  </match>
  51.  <match target="pattern" >
  52.   <test name="family" qual="any" >
  53.    <string>Courier New</string>
  54.   </test>
  55.   <edit mode="assign" name="family" >
  56.    <string>Liberation Mono</string>
  57.   </edit>
  58.  </match>
  59. </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment