Minimum antialiased font size

Joel Uckelman uckelman at nomic.net
Wed Nov 12 14:37:56 UTC 2003


Thus spake Aleks Gerashchenko:
> Can i set minimum font size for antialiased fonts in FC-1?
> 
> Thanks.

I think you want something like this in your /etc/fonts/local.conf:

<match target="font">
	<test qual="all" name="size" compare="less">
		<int>10</int>
	</test>
	<edit name="antialias" mode="assign">
		<bool>false</bool>
	</edit>
</match>

This will prevent fonts smaller than 10pt from being antialiased. You might 
need to restart X after doing this to get it to take effect; I'm not sure.

-- 
J.






More information about the fedora-list mailing list