Convert Font to BMP ?
Hi friends, I want to convert font to BMP files(each font size is 16*16), and all bmp files must insert side by side and create a one BMP file for use in game. Are there any program can do this ? Thanks, --Mojtaba Ebrahimi--
--Mojtaba--
I am assuming that you're converting .ttf to .bmp.
You could probably make one with SDL. SDL_ttf will allow you to print the font to a surface. By that I mean, print any letters/characters in the font, which will enable you to print the entire thing. Then you can save it as a bitmap with one of SDL's functions(I can't remeber which).
Alternatively, you might be able to view(windows comes with something to view them) a .ttf file and then take a screenshot of it and paste that into a .bmp file.
Edit: or just go into Paint/The Gimp/Photoshop and type out the font from in there. You can only use 'system fonts', but I believe that if you put a custom font in the same folder, it will work. THen just save it as a bitmap.
You could probably make one with SDL. SDL_ttf will allow you to print the font to a surface. By that I mean, print any letters/characters in the font, which will enable you to print the entire thing. Then you can save it as a bitmap with one of SDL's functions(I can't remeber which).
Alternatively, you might be able to view(windows comes with something to view them) a .ttf file and then take a screenshot of it and paste that into a .bmp file.
Edit: or just go into Paint/The Gimp/Photoshop and type out the font from in there. You can only use 'system fonts', but I believe that if you put a custom font in the same folder, it will work. THen just save it as a bitmap.
Thanks Ezbez ,
I want to use the persian(farsi) font in my game.I forced that use BMP file.
In the persian language there are about 200(maybe more than 200!) characters,if i want to save this file with Photoshop this take too many times!
I want know that, Are there any programs can do this task ?
--Mojtaba--
I want to use the persian(farsi) font in my game.I forced that use BMP file.
In the persian language there are about 200(maybe more than 200!) characters,if i want to save this file with Photoshop this take too many times!
I want know that, Are there any programs can do this task ?
--Mojtaba--
--Mojtaba--
bitmap font builder?
On the other hand, writing 200 characters takes some time but it's doable (I've done it) :)
On the other hand, writing 200 characters takes some time but it's doable (I've done it) :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement