This project is read-only.

Text in buttons are placed meshed up

Apr 5, 2012 at 2:57 PM

When i follow the example states on this project page whenever i place some buttons and assign a textrender with a font on it the text in the buttons arent nice placed but rather displaced like if its missing anti alliasing


Apr 5, 2012 at 6:35 PM

Can you post of screen shot of what it looks like?

When you create a new sprite font XNA creates an image-map using that font that is not anti-aliased. You can create and use your own image-maps using tolls such as which allow much nicer fonts anti-aliasing and even sub-pixel hinting.

Apr 5, 2012 at 7:24 PM
Edited Apr 5, 2012 at 7:24 PM


Here is what it look like,

I will look at the tools too thanks 

Apr 6, 2012 at 4:59 PM

Yeah unless the font looks better when you draw it with Spribatch.DrawString that is just how the font looks without AA or SPS (How XNA creates the font be default). Try using one generated nubik.