Page 1 of 1

Need to create Irrlicht fonts

Posted: Fri May 13, 2011 6:21 am
by manik_sheeri
Hi,

I have a my own font file in .png format and I want to convert that into Irrlicht readable format so that I can use it in my Irrlicht application.
Can you please tell me how do I achieve this?

I dont have the specifics of my font file, so I can not create the similar in Irrlicht Font maker tool. Just want to use the same file in my application.

cheers,
Manik

Posted: Fri May 13, 2011 8:18 am
by nespa
Irrlicht fonts:

http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=37735

search in the 1st post and you will find 2 still active links to download

Posted: Fri May 13, 2011 8:25 am
by manik_sheeri
@nespa

I am aware of this tool. Actually, the problem is that I have a .png format file in which I have the font characters, with better texture and smoothness , that I cant create with any of the available Irrlicht font tools.
But my requirement is to make this file to readable by the Irrlicht apis, so that I can use it in my Irrlicht application.

cheers.

Posted: Fri May 13, 2011 9:23 am
by hybrid
I guess you have to write/alter an existing XML file for some other font then. Might be feasible.

Posted: Fri May 13, 2011 9:58 am
by manik_sheeri
Is it necessary that I should have the power-of-2 dimensions for my font file.
If yes, why ?

Posted: Fri May 13, 2011 10:12 am
by Radikalizm
pot textures are always recommended, some video drivers won't even accept textures which don't have pot dimensions or they will distort them, so it's best to play safe and make your font texture pot

Posted: Fri May 13, 2011 10:21 am
by serengeor
Radikalizm wrote:npot textures are always recommended, some video drivers won't even accept textures which don't have npot dimensions or they will distort them, so it's best to play safe and make your font texture npot
Are you sure it has to be 'npot' and not 'pot' ?

Posted: Fri May 13, 2011 10:41 am
by Radikalizm
serengeor wrote:
Radikalizm wrote:npot textures are always recommended, some video drivers won't even accept textures which don't have npot dimensions or they will distort them, so it's best to play safe and make your font texture npot
Are you sure it has to be 'npot' and not 'pot' ?
Ahh yes, got confused there :D You're right, I'm doing 3 things at once so I'm typing in autopilot, I'll correct my post

Posted: Wed May 18, 2011 7:57 am
by manik_sheeri
Can anybody tell me what are the "u" and "o" values in the XMl file of the font ?
What does it represents?