To disable anti-alias for all fonts, one should put this in ~/.fonts.conf:

<match target="font">
    <edit name="antialias" mode="assign"><bool>false</bool></edit>
</match>

In my experience, at least one Qt program wouldn't pick up, though.

The only solution I found is to put that in /etc/fonts/local.conf instead.