Text and true type fonts


Hi,

Forgive this newbie for asking it, but is there support for user-provided true type fonts for rendering Text objects, in JME?

This was recently mentioned here: http://www.jmonkeyengine.com/jmeforum/index.php?topic=3576.msg28463#msg28463



I hope that helps.

In user code forum you can also find a Java2D based implementation from elias4444

Oh, seems tougher than what I expected it to be.



Thanks guys, that will help a lot!!

Why is it that I couldn’t find a single ttf to bitmap generator for Linux? :’(

Got it while googling:



http://www.gamedev.net/community/forums/topic.asp?topic_id=328951&whichpage=1&#2133497



This guy's code works nicely! A good soul would be able to port it into LWJGL as an extra, or within JME itself in order to provide True Type Font support - all it does is generate the bitmap on the fly, and then render the font using the generated texture.



Ok, I might have gone too far to suggest it as an addiction, but I'll leave it here in case someone needs it :smiley:



Son of Cain