[Fontconfig] fonts.conf problem
Salman Khilji
skhilji at tampabay.rr.com
Tue Nov 9 08:38:27 EST 2004
On Mon, 2004-11-08 at 13:53 +0200, Ciprian Popovici wrote:
> FWIW, "pixelsize" means "pixel size". :) For points you need to use "size".
> Perhaps this is why different fonts will have different tresholds.
>
Thanks for point this out!
With the following, I was able to solve my problem and make my fonts
look really good.
<match target="pattern">
<test name="slant"> <const>roman</const> </test>
<test qual="all" name="size"
compare="less"><double>13.5</double></test>
<edit name="antialias"><bool>false</bool></edit>
</match>
<match target="pattern">
<test qual="any" name="family"> <string>monospace</string> </test>
<edit name="antialias"><bool>true</bool></edit>
</match>
Basically, I don't antialias fonts below 13.5 points---and I use
mscorefonts for my desktop and applications in GNOME.
Monospace font (IMHO) does not look good without AA, so I AA it at all
sizes.
I AA italic and oblique fonts (even though microsoft thinks don't need
AA). Thats why I check for the slant as well.
Salman
More information about the Fontconfig
mailing list