1) Round the value of the text coordinates: math.floor(x) math.floor(y) — This does not work, the result has not changed
2) Use a larger font — It doesn't work, the letters are blurred
3) Enable filtering mode: love.graphics.setDefaultFilter("nearest","nearest") — no result
4) Apply a new filtering mode to the Text object:
Code: Select all
font = love.graphics.newFont("Inter-Regular.ttf", 12)
font:setFilter("nearest","nearest")
In this picture, you can better see how the text "Press Me!" is blurred.
Please tell me how to make the image as clear as possible so that each pixel is distinguishable?
I decided to make exactly the same button in Gamemaker, the window sizes are identical (800x600), but why is the result so different? Why is the LOVE window bigger than the gamemaker window? Could this be the reason for the blur?