.fonts.conf, Disabling AA only for windows fonts.
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    liraz Guest

    .fonts.conf, Disabling AA only for windows fonts.

    I recently installed the microsoft core fonts and was wondering how to only disable AA for the ms core fonts. They're installed in /usr/share/fonts/msttcorefonts.

    Anyway so far I just have a script which disables AA for fonts smaller then 15 etc. but doing this will wreck some of the other good linux fonts like monospace(I use it for x-chat).


    I will paste my .fonts.conf, just incase.
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font" >
    <test compare="more" name="pixelsize" qual="any" >
    <double>0</double>
    </test>
    <test compare="less" name="pixelsize" qual="any" >
    <double>15</double>
    </test>
    <edit mode="assign" name="antialias" >
    <bool>false</bool>
    </edit>
    </match>
    <match target="pattern" >
    <test name="family" qual="any" >
    <string>Bitstream Vera Sans</string>
    </test>
    <edit mode="assign" name="family" >
    <string>Arial</string>
    </edit>
    </match>
    <match target="pattern" >
    <test name="family" qual="any" >
    <string>Helvetica</string>
    </test>
    <edit mode="assign" name="family" >
    <string>Arial</string>
    </edit>
    </match>
    <match target="pattern" >
    <test name="family" qual="any" >
    <string>Palatino</string>
    </test>
    <edit mode="assign" name="family" >
    <string>Georgia</string>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hinting" >
    <bool>true</bool>
    </edit>
    </match>
    <match target="font" >
    <test compare="more" name="size" qual="any" >
    <double>0</double>
    </test>
    <test compare="less" name="size" qual="any" >
    <double>11</double>
    </test>
    <edit mode="assign" name="antialias" >
    <bool>false</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hintstyle" >
    <const>hintmedium</const>
    </edit>
    </match>
    </fontconfig>

  2. #2
    PeTzZz is offline Retired Community Manager
    Join Date
    Mar 2004
    Location
    Tartu
    Posts
    1,550

Similar Threads

  1. Windows fonts
    By ghenghis in forum Installation, Upgrades and Live Media
    Replies: 12
    Last Post: 29th January 2009, 10:55 AM
  2. Windows & Fonts
    By Slikk2k in forum Using Fedora
    Replies: 7
    Last Post: 16th August 2006, 05:55 AM
  3. Windows fonts guide(Including my .fonts.conf)
    By liraz in forum Guides & Solutions (Not For Questions)
    Replies: 1
    Last Post: 25th June 2005, 05:24 AM
  4. help with .fonts.conf
    By liraz in forum Using Fedora
    Replies: 0
    Last Post: 13th June 2005, 11:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •