Try font:setFilter("nearest", "nearest"). You may also need to use a font size that is a multiple of 16, or alternatively, to adjust the size of the font instead of the scale.
Fixedsys Excelsior is very picky on the fontsize, i should know, i use it myself; it's either a multiple of 12 or 16 as pgimeno said, to keep it being pixel-perfect.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
love.graphics.setDefaultFilter('nearest', 'nearest')
love.graphics.push()
love.graphics.scale(0.5, 0.5) -- by whatever size you want to rescale
love.graphics.print("text", x, y)
love.graphics.pop() -- because 0.5 will affect everything
Note: You will have to adjust the coordinates accordingly after rescaling
hiithaard wrote: ↑Wed Jul 01, 2020 5:31 pm
Well there's one workaround... You can use love.graphics.scale
That might work for downscaling, but im not so sure about upscaling; also, you would probably need to stick to integral numbers........ oh, welcome to 2018 i guess. :v
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
That applies to the particular bitmapped font that the OP used. Bitmapped fonts are made for specific sizes; the specific size to use depends on the font. For truetype fonts, that shouldn't be an issue.
Technically, fixedsys excelsior is also a truetype font, it's just designed with pixel-like square shapes in lieu of truetype actually supporting bitmap fonts; due to that, and how TT renderers work (afaik), if you don't draw/render it as a multiple of size 16 (that it was designed for), then you'll get artifacts/distortion.
You can see this most easily if you have the font installed when you open a simple notepad, type a sentence, then change the size from let's say 12 to 11 (or 16 to 15; depends on what program you're using the font in whether the recommended size is 16 or 12 or whatever.) a one-point difference will just squish the text a tiny bit.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.