LOVE is a very good game engine, but I do not much like the problems with fonts. Here's another nasty bug, in addition to the slow rendering of fonts:
Video: Intel GMA mobile
OS: Windows XP
Fonts in LOVE (VERY big problem)
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: Fonts in LOVE (VERY big problem)
Fonts are in for a complete overhaul in 0.8.0.
Re: Fonts in LOVE (VERY big problem)
Good lord, what did you do to those fonts? They do not usually look that way.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Fonts in LOVE (VERY big problem)
Yeah, that is REALLY abnormal. It looks almost like that text has... DXT compression??? Maybe your graphics drivers automatically compresses all textures? But that'd just be silly...
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Fonts in LOVE (VERY big problem)
Mm... how many font objects are you using?
Are you creating several (one per size) or doing something more funky, like using love.graphics.scale with a single font size?
Are you creating several (one per size) or doing something more funky, like using love.graphics.scale with a single font size?
When I write def I mean function.
Re: Fonts in LOVE (VERY big problem)
I'm using that bitmap font:
ttf fonts are very slow.
ttf fonts are very slow.
Re: Fonts in LOVE (VERY big problem)
Very, very possible - compression may cause that problem. It's seems that it's driver problems.Taehl wrote:DXT compression???
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Fonts in LOVE (VERY big problem)
He is -- although you don't have much choice with a bitmap font.kikito wrote:like using love.graphics.scale with a single font size?
RPG: I suggest switching to ttf fonts (multiple fonts, one for each size). It shouldn't affect framerate that much, and when 0.8.0 comes around it should be fixed anyway.
Help us help you: attach a .love.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Fonts in LOVE (VERY big problem)
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)
When I write def I mean function.
Re: Fonts in LOVE (VERY big problem)
It affects very much: the FPS difference is 20-30%.Robin wrote:RPG: I suggest switching to ttf fonts (multiple fonts, one for each size). It shouldn't affect framerate that much, and when 0.8.0 comes around it should be fixed anyway.
ttf fonts in current LOVE version are slow.
We're almost finished our game, but the new version did not release.
I wanna see bitmap fonts in LOVE like in HGE:
The current implementation of a bitmap font in LOVE is very bad. This font is very hard to make. I made a bitmap font highest possible quality, but this picture is a huge in width. If LOVE had such fonts as shown above, there would be no problems with scaling or performance. I really hope LOVE will have exactly such fonts.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 can not make a bitmap font for each screen resolution, it will require a lot of memory, because our game lets you choose the screen resolution.
Also, these fonts to easily create, because there are a lot of already developed programs for creating bitmap fonts:
http://www.angelcode.com/products/bmfont/
Last edited by RPG on Thu May 12, 2011 1:22 pm, edited 1 time in total.
Who is online
Users browsing this forum: Google [Bot] and 8 guests