I'm having trouble getting this any font to look good in my game. Attached are a test file and a screenshot to demonstrate.
This is pretty much all that is happening:
font = lg.newFont("bold.ttf", 16)
lg.print("this is some words", 200, 200)
I will note that I have tried setDefaultFilter("nearest","nearest") and ("linear","linear)
The screen shot is a closeup of the game window next to my browser. You can see how much cleaner the text in my browser looks (on this forum) than the text in my game. It almost seems like love2d is running at a lower resolution than my browser?
I have a highDPI monitor, running macos
Blurry Text, low resolution?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Blurry Text, low resolution?
- Attachments
-
- canvas_tests.love.zip
- (518.3 KiB) Downloaded 111 times
Re: Blurry Text, low resolution?
Figured it out!
function love.conf(t)
end
has to be in conf.lua I guess...
I put t.window.highdpi = true
in there and now it looks very smooth.
function love.conf(t)
end
has to be in conf.lua I guess...
I put t.window.highdpi = true
in there and now it looks very smooth.
Who is online
Users browsing this forum: No registered users and 2 guests