Page 1 of 1

Slow fonts

Posted: Sat Apr 09, 2011 5:44 pm
by RPG
Compare:
http://ompldr.org/vODZ2bQ
http://ompldr.org/vODZ2bA
Text renderer is very slow.

Re: Slow fonts

Posted: Sat Apr 09, 2011 8:45 pm
by bmelts
That it is. It will be much faster in 0.8.0.

Re: Slow fonts

Posted: Sun Apr 10, 2011 8:39 pm
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?

Re: Slow fonts

Posted: Sun Apr 10, 2011 9:28 pm
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

Re: Slow fonts

Posted: Sun Apr 10, 2011 11:27 pm
by RPG
This font:
Image
works much faster:
Image