How to create or get more 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
officially.rahul
Posts: 12
Joined: Fri Sep 17, 2010 4:48 pm

How to create or get more fonts.....

Post by officially.rahul »

As the fonts supported are in a 256x256 bitmap. Where can i get more fonts or how can i create font. is there any tool for that. Can the given fonts be zoomed to increase size.
wahagn
Posts: 186
Joined: Sat Dec 06, 2008 5:11 pm
Location: Zundert (Netherlands)

Post by wahagn »

you can use Font Creator or the inbuild Private Character Editor that comes whith windows (for the last one go to start->run->type in eudcedit and press OK)

1. http://www.high-logic.com/fontcreator.html

2.
Private Character Editor (Windows)
Did you know that Windows XP comes with a font editor? You don't have to download anything - it's already on your computer if you're running Windows. To access it, just click the Run command from your Start menu. In the window that appears, type "eudcedit" (without the quotes) and click the OK button. The editor is primitive at best. Information about how to use it can be found in the Help menu of the program.

Hope this helps...
“Any code of your own that you haven’t looked at for six or more months might as well have been written by someone else.”
(Eagleson’s Law)
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

I think he meant Irrlicht fonts...
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Fonts cannot be resized. You need to create multiple fonts. At least for now. But the TrueType extensions can resize fonts on the fly. Font tools are in the SDK, for more advanced things there are also some tools on the forum.
qwertyCoder
Posts: 40
Joined: Wed May 07, 2008 4:37 pm
Location: Asheville, NC, USA

Post by qwertyCoder »

Couldnt you theoretically create a custom font object in code that loads bitmaps for each letter/symbol and position them according to what string your trying to display? Then you could simply resize all the images to stretch them. Even possibly use anti aliasing to smooth the edges. Possibly a future project for myself =D
---------------------------------------

Code: Select all

int main()
{
	if (bCodeDoesntWork)
	{
		int res = AttemptFix(this);
		if (failed(res))
		{
			PullHair();
		}
	}
}
---------------------------------------
slavik262
Posts: 753
Joined: Sun Nov 22, 2009 9:25 pm
Location: Wisconsin, USA

Post by slavik262 »

Even professional video games use fonts of fixed sizes. Resizing a font usually produces nasty-looking results since the fonts lose their sharpness, even with AA. Bitmap fonts are used because of how quickly they render.
officially.rahul
Posts: 12
Joined: Fri Sep 17, 2010 4:48 pm

Post by officially.rahul »

thanks but plz tell me how to create fonts..... i.e align those text with constant spacing.... its cumbersome if done on any raster based editor......

@wahagn : thanks ... but am talking about irrlicht fonts(chars spaced on bitmap).. but thanks as didn't know abt 'eudcedit'

@qwertyCoder : thats gud but too long procedure to follow.....
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

Working on game: Marrbles (Currently stopped).
Post Reply