Search found 4 matches

by actually_reb
Sun Jul 05, 2020 12:00 am
Forum: Support and Development
Topic: High-resolution fonts with love.graphics.scale
Replies: 7
Views: 4590

Re: High-resolution fonts with love.graphics.scale

Those tests made it a lot more clear actually, thank you! I added in some tests with the DPI method I was using, and the jitter introduced was a lot more clear with your tests than with mine. I'll be use the fourth method that you used in the future.
by actually_reb
Fri Jul 03, 2020 1:37 am
Forum: Support and Development
Topic: High-resolution fonts with love.graphics.scale
Replies: 7
Views: 4590

Re: High-resolution fonts with love.graphics.scale

font = love.graphics.setNewFont(14, "normal", scale) font = love.graphics.setNewFont(14*scale, "normal", 1) In my testing, these two commands don't make two fonts of the same size. The second one takes up more space on the screen when you draw it, while changing the DPI increase...
by actually_reb
Thu Jul 02, 2020 7:07 pm
Forum: Support and Development
Topic: High-resolution fonts with love.graphics.scale
Replies: 7
Views: 4590

Re: High-resolution fonts with love.graphics.scale

The problem with that approach that I had is that changing the size of the font also changes the amount of space the font takes up, not just the resolution. I would have to scale the font down in the drawing call my varying amounts depending on the scale transform used, and I'm not quite sure how to...
by actually_reb
Thu Jul 02, 2020 2:14 am
Forum: Support and Development
Topic: High-resolution fonts with love.graphics.scale
Replies: 7
Views: 4590

High-resolution fonts with love.graphics.scale

I'm having trouble finding a good way to make fonts resolution independent. Currently, when drawing my game, I'm calling love.graphics.scale() in order to fit what I'm drawing to the size of the window. The problem with that is drawing text to the screen looks awful when it's upscaled. My current so...