Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat /etc/fonts/local.conf
- <?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 renderin>
- <!-- Uncomment this if you have an LCD screen-->
- <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>20</double></test>
- <edit mode="assign" name="antialias"><bool>false</bool></edit>
- </match>
- <!-- Ignore any embedded bitmaps in TTF, etc (Microsoft's Calibri and others from Office 07/Vista have these) -->
- <match target="font" >
- <edit name="embeddedbitmap" mode="assign" >
- <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>hintmedium</const></edit>
- </match>
- </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement