Page 1 of 1
love.graphics.printf() and pixel alignment.
Posted: Sat Dec 20, 2014 7:37 am
by xpol
I found that when drawing text will have dirty pixels.
- printf.png (18.16 KiB) Viewed 2648 times
Is this due to unaligned pixels? How can if fixes this?
Re: love.graphics.printf() and pixel alignment.
Posted: Sat Dec 20, 2014 7:53 am
by xpol
I have fixed the none rotated case by force translation align to pixel.
But the rotated case can't be fixed yet...
Re: love.graphics.printf() and pixel alignment.
Posted: Sat Dec 20, 2014 3:00 pm
by Muris
Do you mean that what you do not like about the text is the anti-aliasing and you want non-antialiased text? Sadly I honestly do not know how to do it, but my guess would be setting some filter to nearest instead of linear.