Hey Guys, I think there is already a post out there for this, but I have no idea what to search for, my problem is that my font that i'm using (Harabra) is quite high quality on letters, then fuzzy/blurry on the other letters, I have no idea what to call this post, nor what this problem is called, here's a picture ;3 Any help is appreciated!
Kind Regards,
-Triplenox
Love2D - Font Messed Up!
Re: Love2D - Font Messed Up!
Hmm.. Maybe it would be helpful if you gave us a link so we can test the font out.
I don't know about any problem with the font function, try changing the font size and watch the result ( i.e change size 18 to 22 )
I don't know about any problem with the font function, try changing the font size and watch the result ( i.e change size 18 to 22 )
Re: Love2D - Font Messed Up!
I have a variety of different font sizes, it goes 24, 36, 48, 62, 72, i'll test later, as i'm busy with school work atm ;3Larsii30 wrote:Hmm.. Maybe it would be helpful if you gave us a link so we can test the font out.
I don't know about any problem with the font function, try changing the font size and watch the result ( i.e change size 18 to 22 )
Re: Love2D - Font Messed Up!
Most modern fonts are hinted for RGB subpixel rendering. LOVE however, uses simple grayscale antialiasing. Read more about different rendering strategies here.
ALL CREATURE WILL DIE AND ALL THE THINGS WILL BE BROKEN. THAT'S THE LAW OF SAMURAI.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Love2D - Font Messed Up!
I don't see anything obviously wrong on that picture. What letters do you consider "blurry"?Triplenox wrote:my problem is that my font that i'm using (Harabra) is quite high quality on letters, then fuzzy/blurry on the other letters
When I write def I mean function.
- Jasoco
- Inner party member
- Posts: 3726
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Love2D - Font Messed Up!
A) What OS are you on?
B) Please upload the .love so we can test it and take screenshots of what it looks like for us.
B) Please upload the .love so we can test it and take screenshots of what it looks like for us.
Re: Love2D - Font Messed Up!
It's sorta a game, so i'm not trusting anyone with the code D: I'm running Windows 7 64-Bit on an Intel Pentium P6100 processor. (I think, lol!)Jasoco wrote:A) What OS are you on?
B) Please upload the .love so we can test it and take screenshots of what it looks like for us.
Kind Regards,
-Triplenox
Re: Love2D - Font Messed Up!
You can then post a minimal example that reproduces your font problem, without exposing your game code.
Check out my blog on gamedev
Re: Love2D - Font Messed Up!
Here is the code I have for the fonts:micha wrote:You can then post a minimal example that reproduces your font problem, without exposing your game code.
Code: Select all
function love.load()
--fonts!
small = love.graphics.newFont("fonts/gf.ttf",24)
medium = love.graphics.newFont("fonts/gf.ttf",36)
large = love.graphics.newFont("fonts/gf.ttf",48)
xlarge = love.graphics.newFont("fonts/gf.ttf",62)
xxlarge = love.graphics.newFont("fonts/gf.ttf",72) end
Code: Select all
function love.draw()
love.graphics.setFont(small)
love.graphics.print("Credits:\nKeaton (Art)\nMatt Chambers (Code)\nJames McCarthy (Music)",10,355)
end
Kind Regards,
-Triplenox (I'm feeling like a retard now!)
Re: Love2D - Font Messed Up!
Well, they aren't exactly blurry, but they're out of place, and not in-line :pkikito wrote:I don't see anything obviously wrong on that picture. What letters do you consider "blurry"?Triplenox wrote:my problem is that my font that i'm using (Harabra) is quite high quality on letters, then fuzzy/blurry on the other letters
Kind Regards,
-Triplenox
Who is online
Users browsing this forum: No registered users and 5 guests