Slow fonts

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Slow fonts

Post by RPG »

Compare:
http://ompldr.org/vODZ2bQ
http://ompldr.org/vODZ2bA
Text renderer is very slow.
User avatar
bmelts
Party member
Posts: 380
Joined: Fri Jan 30, 2009 3:16 am
Location: Wiscönsin
Contact:

Re: Slow fonts

Post by bmelts »

That it is. It will be much faster in 0.8.0.
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

Re: Slow fonts

Post by miko »

anjo wrote:That it is. It will be much faster in 0.8.0.
How much faster? I just noticed the same, and wondered if people used framebuffers for images with lots of strings? Anyway, can I assume that for 0.8.0 print() will be the fastest way to put (dynamic) strings?
BTW, any ETA of 0.8.0 release?
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: Slow fonts

Post by RPG »

Usually bitmap fonts in OpenGL very fast due to using VBO and font textures generated by any font generators like this:
http://www.tonypottier.info/Unicode_And ... age003.jpg

It would be nice to use in LOVE this method.

Performance of my own font engine:
http://ompldr.org/vODdsdQ
User avatar
RPG
Party member
Posts: 157
Joined: Wed Mar 02, 2011 5:02 am
Location: Russia
Contact:

Re: Slow fonts

Post by RPG »

This font:
Image
works much faster:
Image
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 50 guests