Page 2 of 4

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 1:34 pm
by Lafolie
Personally, I'd just take the performance hit and use True Type. That way you don't have to do anything extra when 0.8 is released either, provided the syntax is the same. I'd just hang in and wait it out.

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 2:35 pm
by RPG
I have already made ​​a good bitmap font and would like to use it. This is russian font.
Image

But to use it looks like I will have to patch LOVE.

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 2:41 pm
by Robin
kikito wrote:Why not just render the font as a bitmap with several resolutions? Or else, render it with the highest resolution used, and scale down (I assume this will give less visual artifacts than scaling up)
I didn't mention that for several reasons.
Lafolie wrote:Personally, I'd just take the performance hit and use True Type. That way you don't have to do anything extra when 0.8 is released either, provided the syntax is the same. I'd just hang in and wait it out.
This is one of them.
RPG wrote:I have already made ​​a good bitmap font and would like to use it.
That looks like hell to use. I think you'd need to specify the bounding box for each letter separately, if you want to use that as-is.

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 3:05 pm
by RPG
Thit program generaes all rectangles coordinates. Look:
http://www.chadvernon.com/blog/resource ... map-fonts/

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 3:18 pm
by Lafolie
There's also no space between the characters so you'd get a bit of bleed from the surrounding pixels, I think.

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 4:50 pm
by RPG
Maybe, but I dont think so. You can increase space between characters.

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 5:33 pm
by Lafolie
It depends on the way everything is rendered I suppose. No idea if this phenomena occurs in Love. I'd leave some space in-between the characters just in case.

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 11:54 pm
by BlackBulletIV
In theory you shouldn't get any bleed if the coordinates are pixel perfect; that is unless for some strange reason half a pixel is used.

Re: Fonts in LOVE (VERY big problem)

Posted: Thu May 12, 2011 11:56 pm
by Taehl
If you scaled it whatsoever, the nearest neighbor scaling algorithm would kick in, causing bleed. Always give yourself a pixel of space on each side!

Re: Fonts in LOVE (VERY big problem)

Posted: Fri May 13, 2011 7:30 am
by RPG
Also I can't understand that:
Image
Why russian characters aren't in center on the button? This is NOT ttf font.