Need to create Irrlicht fonts

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
manik_sheeri
Posts: 53
Joined: Tue May 19, 2009 12:18 am

Need to create Irrlicht fonts

Post 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
nespa
Posts: 167
Joined: Wed Feb 24, 2010 12:02 pm

Post 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
manik_sheeri
Posts: 53
Joined: Tue May 19, 2009 12:18 am

Post 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.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I guess you have to write/alter an existing XML file for some other font then. Might be feasible.
manik_sheeri
Posts: 53
Joined: Tue May 19, 2009 12:18 am

Post by manik_sheeri »

Is it necessary that I should have the power-of-2 dimensions for my font file.
If yes, why ?
Radikalizm
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Post 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
Last edited by Radikalizm on Fri May 13, 2011 10:42 am, edited 1 time in total.
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post 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' ?
Working on game: Marrbles (Currently stopped).
Radikalizm
Posts: 1215
Joined: Tue Jan 09, 2007 7:03 pm
Location: Leuven, Belgium

Post 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
manik_sheeri
Posts: 53
Joined: Tue May 19, 2009 12:18 am

Post 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?
Post Reply