RonenNess / GeonBit.UI

UI system for MonoGame projects.
MIT License
467 stars 63 forks source link

Font issue when using one of the constructors #103

Closed torial closed 5 years ago

torial commented 5 years ago

I have a scenario where if I use the Paragraph constructor that specifies the size and color (as seen in the code snippet below)

Screen Shot 2019-03-11 at 9 05 12 PM

I get ugly text as seen here:

Screen Shot 2019-03-11 at 9 04 59 PM

If I uncomment the UpdateStyle line just after the paragraph initializes, it becomes a white font but looks attractive again.

RonenNess commented 5 years ago

Hi @torial ,

What do you mean ugly? How did you expect it to look? With the UpdateStyle() command below you reset its style to default, which is white it turned white again.

Thanks,

torial commented 5 years ago

The text in black in the image above is very ugly, and I was expectingly the changing of color, not to make it blotchy and pixelated when I set the color to black.

The only reason I was playing around w/ the UpdateStyle(Default) was that I saw that it was not in the constructor I was using.

If you want, I can provide another screenshot with the unpixelated/smooth/non-blotchy white next to the pixelated/granulated/blotchy black.

RonenNess commented 5 years ago

@torial ah yeah I wasn't sure that's what you meant, its just the shadow / outline, which is black. If you want to remove the blotch just disable the outline, or change its color :)

Please try that and let me know if that was indeed what you meant. Thanks!

torial commented 5 years ago

I set the outline width to 0, and the problem went away! Thank you, it looks much better!