[Fontconfig] Re: Can we get fonts as sharp as Windows?
Charles A. Landemaine
landemaine at gmail.com
Thu Feb 15 09:47:43 PST 2007
Thanks Mike, I do have Freetype 2.2.1 (on PC-BSD). And I also have
this in my .fonts.conf file:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- PC-BSD - Fonts configurations v.12012006-->
<!-- Make bold fonts less bold and more readable -->
<match target="font" >
<test name="weight" compare="more">
<int>100</int>
</test>
<edit mode="assign" name="weight" >
<const>210</const>
</edit>
</match>
<!-- 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>
</fontconfig>
Is this correct?
Thanks again!
--
Charles A. Landemaine.
More information about the Fontconfig
mailing list