Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <fontconfig>
- <!-- General Settings -->
- <match target="font" >
- <edit mode="assign" name="rgba" >
- <const>rgb</const>
- </edit>
- </match>
- <match target="font" >
- <edit mode="assign" name="hinting" >
- <bool>true</bool>
- </edit>
- </match>
- <match target="font" >
- <edit mode="assign" name="hintstyle" >
- <const>hintslight</const>
- </edit>
- </match>
- <match target="font" >
- <edit mode="assign" name="antialias" >
- <bool>true</bool>
- </edit>
- </match>
- <match target="pattern" >
- <edit mode="assign" name="autohint" >
- <bool>true</bool>
- </edit>
- </match>
- <match target="font" >
- <edit mode="assign" name="lcdfilter">
- <const>lcddefault</const>
- </edit>
- </match>
- <!-- set dpi -->
- <match target="pattern" >
- <edit mode="assign" name="dpi" >
- <double>88</double>
- </edit>
- </match>
- <!-- consolas and inconsolata appear fuzzy -->
- <match target="font">
- <test compare="eq" name="family">
- <string>Consolas</string>
- </test>
- <edit mode="assign" name="hintstyle">
- <const>hintmedium</const>
- </edit>
- </match>
- <match target="font">
- <test compare="eq" name="family">
- <string>Inconsolata</string>
- </test>
- <edit mode="assign" name="hintstyle">
- <const>hintslight</const>
- </edit>
- </match>
- <!-- hintmedium for small fonts, reduces fuzziness -->
- <!-- pretty sure this doesn't work -->
- <match target="font">
- <test compare="less_eq" name="pixelsize">
- <double>11</double>
- </test>
- <edit mode="assign" name="hintstyle">
- <const>hintslight</const>
- </edit>
- </match>
- <!-- calibri jaggedness -->
- <match target="font" >
- <edit mode="assign" name="embeddedbitmap" >
- <bool>false</bool></edit>
- </match>
- <match target="font">
- <test compare="eq" name="family">
- <string>Arial</string>
- </test>
- <edit mode="assign" name="hinting">
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle">
- <const>hintfull</const>
- </edit>
- <edit mode="assign" name="autohint">
- <bool>true</bool>
- </edit>
- <test compare="less" name="weight">
- <const>medium</const>
- </test>
- </match>
- <match target="font">
- <test compare="eq" name="family">
- <string>Impact</string>
- </test>
- <edit mode="assign" name="hinting">
- <bool>true</bool>
- </edit>
- <edit mode="assign" name="hintstyle">
- <const>hintfull</const>
- </edit>
- <edit mode="assign" name="autohint">
- <bool>false</bool>
- </edit>
- </match>
- </fontconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement