etc-gentoo/fonts/msfonts-rules.conf

540 lines
10 KiB
XML

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Updated 2010-02-20 -->
<!-- Common rules for the MS fonts -->
<match target="font">
<test name="family">
<string>Andale Mono</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Arial</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Arial Black</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Comic Sans MS</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Georgia</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Impact</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Trebuchet MS</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Verdana</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Courier New</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Times New Roman</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Tahoma</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Webdings</string>
</test>
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
<edit name="autohint">
<bool>false</bool>
</edit>
</match>
<!-- Andale Mono less than 19px made aliased -->
<match target="font">
<test name="family">
<string>Andale Mono</string>
</test>
<test compare="less" name="size" qual="any">
<double>19</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Andale Mono</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>19</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Andale Mono less than 19px made aliased -->
<match target="font">
<test name="family">
<string>Andale Mono</string>
</test>
<test compare="less" name="size" qual="any">
<double>19</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Andale Mono</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>19</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Arial not bold less than 17px made aliased -->
<match target="font">
<test name="family">
<string>Arial</string>
</test>
<test compare="less" name="size" qual="any">
<double>17</double>
</test>
<test compare="less_eq" name="weight">
<int>100</int>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Arial</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>17</double>
</test>
<test compare="less_eq" name="weight">
<int>100</int>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Arial bold less than 12px has rgba off -->
<match target="font">
<test name="family">
<string>Arial</string>
</test>
<test compare="more" name="weight">
<int>100</int>
</test>
<test compare="less" name="size" qual="any">
<double>12</double>
</test>
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
<match target="font">
<test name="family">
<string>Arial</string>
</test>
<test compare="more" name="weight">
<int>100</int>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>12</double>
</test>
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
<!-- Arial Black with rgba off -->
<match target="font">
<test name="family">
<string>Arial Black</string>
</test>
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
<!-- Comic Sans MS not bold less than 15px made aliased -->
<match target="font">
<test name="family">
<string>Comic Sans MS</string>
</test>
<test compare="less" name="size" qual="any">
<double>15</double>
</test>
<test compare="less_eq" name="weight">
<int>100</int>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Comic Sans MS</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>15</double>
</test>
<test compare="less_eq" name="weight">
<int>100</int>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Courier New between 8 and 19px made aliased -->
<match target="font">
<test name="family">
<string>Courier New</string>
</test>
<test compare="more_eq" name="size" qual="any">
<double>8</double>
</test>
<test compare="less_eq" name="size" qual="any">
<double>19</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Courier New</string>
</test>
<test compare="more_eq" name="pixelsize" qual="any">
<double>8</double>
</test>
<test compare="less_eq" name="pixelsize" qual="any">
<double>19</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Georgia less than 16px made aliased -->
<match target="font">
<test name="family">
<string>Georgia</string>
</test>
<test compare="less" name="size" qual="any">
<double>16</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Georgia</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>16</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Impact with and rgba off -->
<match target="font">
<test name="family">
<string>Impact</string>
</test>
<edit mode="assign" name="rgba">
<const>none</const>
</edit>
</match>
<!-- Tahoma less than 14px made aliased -->
<match target="font">
<test name="family">
<string>Tahoma</string>
</test>
<test compare="less" name="size" qual="any">
<double>14</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Tahoma</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>14</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Times New Roman not bold less than 17px made aliased -->
<match target="font">
<test name="family">
<string>Times New Roman</string>
</test>
<test compare="less_eq" name="weight">
<int>100</int>
</test>
<test compare="less" name="size" qual="any">
<double>17</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Times New Roman</string>
</test>
<test compare="less_eq" name="weight">
<int>100</int>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>17</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Trebuchet MS not bold less than 16px made aliased -->
<match target="font">
<test name="family">
<string>Trebuchet MS</string>
</test>
<test compare="less_eq" name="weight">
<int>100</int>
</test>
<test compare="less" name="size" qual="any">
<double>16</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Trebuchet MS</string>
</test>
<test compare="less_eq" name="weight">
<int>100</int>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>16</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Trebuchet MS bold less than 13px made aliased -->
<match target="font">
<test name="family">
<string>Trebuchet MS</string>
</test>
<test compare="more" name="weight">
<int>100</int>
</test>
<test compare="less" name="size" qual="any">
<double>13</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Trebuchet MS</string>
</test>
<test compare="more" name="weight">
<int>100</int>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>13</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<!-- Verdana less than 15px made aliased -->
<match target="font">
<test name="family">
<string>Verdana</string>
</test>
<test compare="less" name="size" qual="any">
<double>15</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
<match target="font">
<test name="family">
<string>Verdana</string>
</test>
<test compare="less" name="pixelsize" qual="any">
<double>15</double>
</test>
<edit mode="assign" name="antialias">
<bool>false</bool>
</edit>
</match>
</fontconfig>