Font tearing on translation

Issue #301 invalid
Lap
created an issue

When translating printed text by anything besides a whole number you will get ugly tearing.

http://i.imgur.com/6WPNc.png

Took me forever to find the source of this bug, but I can now replicate it perfectly. {{{ love.graphics.print('Malat',200, 300) love.graphics.translate(2.3,4.8) love.graphics.print('Malat', 200, 350) }}}

Comments (2)

  1. Bill Meltsner

    This is not a LÖVE bug, but the way OpenGL works - drawing quads at non-integral coordinates results in tearing and other ugliness. In general, you should try and work with whole pixels when using OpenGL - it makes things look much nicer.

  2. Log in to comment