Created
January 13, 2009 16:26
-
-
Save zmack/46508 to your computer and use it in GitHub Desktop.
This file contains hidden or 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"> | |
<!-- /etc/fonts/local.conf file to configure system font access --> | |
<fontconfig> | |
<!-- Use the Autohinter --> | |
<match target="font"> | |
<edit name="autohint" mode="assign"><bool>true</bool></edit> | |
</match> | |
<!-- Disable Autohinting for bold fonts --> | |
<match target="font"> | |
<test name="weight" compare="more"><const>medium</const></test> | |
<edit name="autohint" mode="assign"><bool>false</bool></edit> | |
</match> | |
<!-- Enable sub-pixel rendering --> | |
<match target="font"> | |
<edit name="rgba" mode="assign"><const>rgb</const></edit> | |
</match> | |
<!-- Exclude/Include a range of fonts for Anti Aliasing --> | |
<!-- | |
<match target="font"> | |
<test qual="any" name="size" compare="more"><double>9</double></test> | |
<test qual="any" name="size" compare="less"><double>14</double></test> | |
<edit name="antialias" mode="assign"><bool>true</bool></edit> | |
</match> | |
--> | |
<!-- And/Or disable Anti Aliasing for a range on pixel-based size. | |
Disabling this using both methods seems to fix Firefox. --> | |
<!-- | |
<match target="font"> | |
<test compare="less" name="pixelsize" qual="any"><double>10</double></test> | |
<edit mode="assign" name="antialias"><bool>false</bool></edit> | |
</match> | |
--> | |
<!-- Other config options that were added to previous versions of config files in the Gentoo Wiki HOWTO. | |
Need clarification. --> | |
<match target="font"> | |
<edit name="hinting" mode="assign"><bool>true</bool></edit> | |
<edit name="hintstyle" mode="assign"><const>hintfull</const></edit> | |
</match> | |
</fontconfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment