# How to disable Monogame pixel font antialiasing?

I am using Monogame 3.4 (I have held off upgrading to 3.5) and am on Windows 10. I'm drawing using the PointClamp setting (as suggested in this similar question).

Whenever I render text with DrawString(), the text is extremely antialiased, as shown below. However, any stretched textures I draw are NOT antialiased, and seem to use the PointClamp setting as expected.

Here are some examples of drawn text:

How do I disable text antialiasing so that fonts don't blur?

EDIT:

It seems that changing some import settings in the .mgcb changes the quality of the AA? When "processorParam:TextureFormat=Color" is changed to "processorParam:TextureFormat=Compressed", it makes the AA more pronounced. The issue is still not solved, but I feel like the font import settings may have something to do with it. Here is the .mgcb

#begin DwellFont.spritefont
/importer:FontDescriptionImporter
/processor:FontDescriptionProcessor
/processorParam:TextureFormat=Color
/build:DwellFont.spritefont


EDIT 2

Since this question got flagged as a duplicate, let me explain. The other question I have already referenced above uses PointClamping. I already use PointClamping, and it works fine with the textures I render (they aren't antialiased). It does not, however, work with my fonts. Therefor, that other question isn't applicable. I'm wondering why that is.

• The compression change you describe is probably not influencing antialiasing or texture filtering/interpolation. It's just storing the font texture in a compressed format that's prone to more errors & bleeding artifacts than an uncompressed texture. – DMGregory Nov 2 '16 at 2:25
• @DMGregory Interesting, thanks. It seems to happen with whatever fonts I try. – Brady Welch Nov 2 '16 at 10:51
• @BradyWelch apologies did not see the link, will remove my comment. Are you using fractional values in your position? May be related to this MonoGame Issue. – lozzajp Nov 2 '16 at 11:08
• @lozzajp No worries (sorry for being rude, I've just been dealing with this issue for months now and it's driving me insane)! I've actually already tried casting positions to an integer and it didn't fix anything. I can try upgrading to the new version of Monogame as well to see if that fixes it, but I didn't read anything in their changelog that would suggest it's been fixed. – Brady Welch Nov 2 '16 at 11:39
• Another question I saw a suggestion of trying TextureFormat=NoChange beyond that yes try the stable release of 3.5 and even give the latest development branch a go, if it is still not working try the community and possibly open an issue yourself on their github repo. – lozzajp Nov 2 '16 at 12:03