Bitmap Font Generator

View previous topic View next topic Go down

Bitmap Font Generator

Post  sio2interactive on Thu Mar 05, 2009 2:09 am

Anyone know a bitmap font generator for MacOS, either an app. or a script (for the Gimp or something)???

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com

sio2interactive

Posts: 1526
Join date: 2008-08-26
Age: 35
Location: Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Bitmap Font Generator

Post  sw on Thu Mar 05, 2009 4:04 am

http://mac.softpedia.com/progDownload/F2IBuilder-Download-32175.html

sw

Posts: 73
Join date: 2008-10-12

View user profile

Back to top Go down

Re: Bitmap Font Generator

Post  sio2interactive on Thu Mar 05, 2009 4:32 am

and this one is excellent Wink tks a bunch!!!

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com

sio2interactive

Posts: 1526
Join date: 2008-08-26
Age: 35
Location: Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Bitmap Font Generator

Post  Francescu on Mon Mar 30, 2009 3:01 am

I've been trying to use F2IBuilder but it is not working for me. This is actually driving me nuts ;(

I generate a font bitmap (e.g. ComicSansMS 16x16) with a black background and when I open the image the background shows as Gray.

Then I guess for SIO2 I need to convert it into a .tga bitmap image, right? when I do it in photoshop, the resulting .tga is completely white.
Also, I noticed the generated .tga bitmap is much bigger in size than the pgn one - can SIO2 use PGN font bitmap?

Also, does anyone know (besides ftblender which is old) of a tool to convert TTF fonts into bitmap ones? I tried using ftblender but the resulting font does not get picked up by SIO2...also I made sure they are a power of 2.

Thanks in advance for any help with this

--francois

Francescu

Posts: 136
Join date: 2009-03-18

View user profile

Back to top Go down

Re: Bitmap Font Generator

Post  sio2interactive on Mon Mar 30, 2009 3:06 am

Then I guess for SIO2 I need to convert it into a .tga bitmap image, right? when I do it in photoshop, the resulting .tga is completely white.

>> Use TGA, make sure that the font builder export the background as alpha, and that the texture is a pow2, also use should maybe adjusts the metrics to make sure that all characters are spreaded equally.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com

sio2interactive

Posts: 1526
Join date: 2008-08-26
Age: 35
Location: Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Bitmap Font Generator

Post  Francescu on Mon Mar 30, 2009 6:25 am

sio2interactive wrote:Then I guess for SIO2 I need to convert it into a .tga bitmap image, right? when I do it in photoshop, the resulting .tga is completely white.

>> Use TGA, make sure that the font builder export the background as alpha, and that the texture is a pow2, also use should maybe adjusts the metrics to make sure that all characters are spreaded equally.
Ok I tried many different ways, still no go.

I use F2iBuilder and the font Comic Sans MS - I'm trying to generate a 16x16 one. Alpha is on by default - if I set a size of 256x256, some chars are truncated at the bottom, I tried playing with adjusting metrics limit (e.g. bigger limit) but it does not change much as lower chars are still truncated...if I don't change the texture size, the default generated size would not be a power of 2. I'm having issues as far as understanding this utility and being able to generate a comic sans MS 16x16 pgn bitmap which is a power of 2...I must be doing something very wrong or missing something obvious with this program...argh...

Francescu

Posts: 136
Join date: 2009-03-18

View user profile

Back to top Go down

Issue Solved

Post  Francescu on Mon Mar 30, 2009 8:14 pm

Ok I solved my issue by disabling metrics in F2iBuilder and adjusting the bitmap in Gimp directly.

I now have my Comic Sans MS 16x16 rendering fine in SIO2.

Cheers cheers

Francescu

Posts: 136
Join date: 2009-03-18

View user profile

Back to top Go down

Re: Bitmap Font Generator

Post  Francescu on Tue Mar 31, 2009 10:03 pm

F2iBuilder 3.8 just got released - it supports more texture sizes and you can now move the charset if needed.
http://f2ibuilder.sourceforge.net/download.html

If anyone is aware of a tool to convert TTF fonts into bitmap ones, that would be great.
I have used ftblender but it does not always work...

Francescu

Posts: 136
Join date: 2009-03-18

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions in this forum:
You cannot reply to topics in this forum