Created
January 25, 2011 10:10
-
-
Save bitonic/794745 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- PC-BSD - Fonts configurations v.12012006--> | |
<!-- Antialias any font by default with autohint enabled, hintfull --> | |
<match target="font" > | |
<edit mode="assign" name="antialias" > | |
<bool>true</bool> | |
</edit> | |
<edit mode="assign" name="autohint" > | |
<bool>true</bool> | |
</edit> | |
<edit mode="assign" name="hintstyle" > | |
<const>hintfull</const> | |
</edit> | |
</match> | |
<!-- Enable sub-pixel rendering--> | |
<match target="font" > | |
<test name="rgba" qual="all" > | |
<const>unknown</const> | |
</test> | |
<edit mode="assign" name="rgba" > | |
<const>rgb</const> | |
</edit> | |
</match> | |
<!-- Fix deprecated monospace --> | |
<match target="pattern" name="family" > | |
<test name="family" qual="any" > | |
<string>fixed</string> | |
</test> | |
<edit mode="assign" name="family" > | |
<string>monospace</string> | |
</edit> | |
</match> | |
<match target="pattern" name="family" > | |
<test name="family" qual="any" > | |
<string>console</string> | |
</test> | |
<edit mode="assign" name="family" > | |
<string>monospace</string> | |
</edit> | |
</match> | |
<match target="pattern" name="family" > | |
<test name="family" qual="any" > | |
<string>mono</string> | |
</test> | |
<edit mode="assign" name="family" > | |
<string>monospace</string> | |
</edit> | |
</match> | |
<!-- Fixed spacing for monospace --> | |
<match target="pattern" name="family" > | |
<test name="family" qual="any" > | |
<string>monospace</string> | |
</test> | |
<edit mode="assign" name="spacing" > | |
<int>10</int> | |
</edit> | |
</match> | |
<!-- Default fonts for generic families --> | |
<alias> | |
<family>cursive</family> | |
<accept> | |
<family>URW</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>fantasy</family> | |
<prefer> | |
<family>Comic Sans MS</family> | |
<family>URW</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>monospace</family> | |
<prefer> | |
<family>Courier New</family> | |
<family>Fixed [Misc]</family> | |
<family>DejaVu Sans Mono</family> | |
<family>Nimbus</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>sans-serif</family> | |
<prefer> | |
<family>Arial</family> | |
<family>DejaVu Sans Condensed</family> | |
<family>Luxi Sans</family> | |
<family>Nimbus Sans L</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>serif</family> | |
<prefer> | |
<family>Times New Roman</family> | |
<family>DejaVu Serif Condensed</family> | |
<family>Nimbus Roman No9 L</family> | |
<family>OmegaSerif88591</family> | |
<family>OmegaSerif88592</family> | |
<family>OmegaSerif88593</family> | |
<family>OmegaSerif88594</family> | |
<family>OmegaSerif88595</family> | |
<family>OmegaSerifVISCII</family> | |
</prefer> | |
</alias> | |
<!-- Alias for common fonts in case they're not found --> | |
<alias> | |
<family>Arial</family> | |
<accept> | |
<family>sans-serif</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Comic Sans MS</family> | |
<accept> | |
<family>URW</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Courier New</family> | |
<accept> | |
<family>monospace</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Courier</family> | |
<prefer> | |
<family>monospace</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>Georgia</family> | |
<accept> | |
<family>serif</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Garamond</family> | |
<accept> | |
<family>serif</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Helvetica</family> | |
<prefer> | |
<family>sans-serif</family> | |
</prefer> | |
</alias> | |
<alias> | |
<family>Impact</family> | |
<accept> | |
<family>sans-serif</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Palatino Linotype</family> | |
<accept> | |
<family>serif</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Trebuchet MS</family> | |
<accept> | |
<family>sans-serif</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Tahoma</family> | |
<accept> | |
<family>sans-serif</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Times New Roman</family> | |
<accept> | |
<family>serif</family> | |
</accept> | |
</alias> | |
<alias> | |
<family>Verdana</family> | |
<accept> | |
<family>sans-serif</family> | |
</accept> | |
</alias> | |
<!-- Bitstream Vera Sans Mono is default for monospace. Replace it with something nicer--> | |
<alias> | |
<family>Bitstream Vera Sans Mono</family> | |
<prefer> | |
<family>Courier New</family> | |
<family>Fixed [Misc]</family> | |
<family>DejaVu Sans Mono</family> | |
<family>Nimbus</family> | |
<family>LucidaTypewriter</family> | |
</prefer> | |
</alias> | |
<!-- Bitstream Vera Sans is default for sans-serif. Replace it with something nicer --> | |
<alias> | |
<family>Bitstream Vera Sans</family> | |
<prefer> | |
<family>Arial</family> | |
<family>DejaVu Sans Condensed</family> | |
<family>Luxi Sans</family> | |
<family>Nimbus Sans L</family> | |
</prefer> | |
</alias> | |
<!-- Bitstream Vera Serif is default for serif. Replace it with something nicer --> | |
<alias> | |
<family>Bitstream Vera Serif</family> | |
<prefer> | |
<family>Times New Roman</family> | |
<family>DejaVu Serif Condensed</family> | |
<family>Nimbus Roman No9 L</family> | |
<family>OmegaSerif88591</family> | |
<family>OmegaSerif88592</family> | |
<family>OmegaSerif88593</family> | |
<family>OmegaSerif88594</family> | |
<family>OmegaSerif88595</family> | |
<family>OmegaSerifVISCII</family> | |
</prefer> | |
</alias> | |
<!-- Common rules for the MS fonts --> | |
<match target="font"> | |
<test name="family"> | |
<string>Andale Mono</string> | |
<string>Arial</string> | |
<string>Arial Black</string> | |
<string>Comic Sans MS</string> | |
<string>Georgia</string> | |
<string>Impact</string> | |
<string>Trebuchet MS</string> | |
<string>Verdana</string> | |
<string>Courier New</string> | |
<string>Times New Roman</string> | |
<string>Tahoma</string> | |
<string>Webdings</string> | |
</test> | |
<edit mode="assign" name="hinting" > | |
<bool>true</bool> | |
</edit> | |
<edit name="autohint"> | |
<bool>false</bool> | |
</edit> | |
</match> | |
<!-- Andale Mono not italic 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> | |
<test compare="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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> | |
<test compare="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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 not italic 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="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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> | |
<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 italic, not bold less than 15px made aliased --> | |
<match target="font" > | |
<test name="family" > | |
<string>Comic Sans MS</string> | |
</test> | |
<test compare="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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 not italic between 8 and 19px made aliased --> | |
<match target="font" > | |
<test name="family" > | |
<string>Courier New</string> | |
</test> | |
<test compare="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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 not italic, less than 16px made aliased --> | |
<match target="font" > | |
<test name="family" > | |
<string>Georgia</string> | |
</test> | |
<test compare="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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> | |
<match target="font" > | |
<test name="family" > | |
<string>Impact</string> | |
</test> | |
<edit mode="assign" name="rgba" > | |
<const>none</const> | |
</edit> | |
</match> | |
<!-- Tahoma not italic less than 16px made aliased --> | |
<match target="font" > | |
<test name="family" > | |
<string>Tahoma</string> | |
</test> | |
<test compare="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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>Tahoma</string> | |
</test> | |
<test compare="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</test> | |
<test compare="less" name="pixelsize" qual="any" > | |
<double>16</double> | |
</test> | |
<edit mode="assign" name="antialias" > | |
<bool>false</bool> | |
</edit> | |
</match> | |
<!-- Times New Roman not italic, not bold less than 17px made aliased --> | |
<match target="font" > | |
<test name="family" > | |
<string>Times New Roman</string> | |
</test> | |
<test compare="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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="eq" target="pattern" name="slant" > | |
<const>roman</const> | |
</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 16px made aliased --> | |
<match target="font" > | |
<test name="family" > | |
<string>Verdana</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>Verdana</string> | |
</test> | |
<test compare="less" name="pixelsize" qual="any" > | |
<double>16</double> | |
</test> | |
<edit mode="assign" name="antialias" > | |
<bool>false</bool> | |
</edit> | |
</match> | |
<!-- | |
<match target="font"> | |
<edit mode="assign" name="rgba"> | |
<const>rgb</const> | |
</edit> | |
<edit mode="assign" name="autohint"> | |
<bool>false</bool> | |
</edit> | |
</match> | |
<match target="font"> | |
<edit mode="assign" name="hinting"> | |
<bool>true</bool> | |
</edit> | |
</match> | |
<match target="font"> | |
<edit mode="assign" name="hintstyle"> | |
<const>hintfull</const> | |
</edit> | |
</match> | |
<match target="font"> | |
<edit mode="assign" name="antialias"> | |
<bool>true</bool> | |
</edit> | |
</match> | |
--> | |
<dir>~/.fonts</dir> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment