Creating a Font from a sprites table?

Started by Monsieur OUXX, Mon 21/10/2013 23:18:23

Previous topic - Next topic

Monsieur OUXX

Hi everyone.

I'm ashamed in advance to ask such a stupid question, so please forgive me. But it feels like the "Fonts" topic has been around for such a long time (Radiant's editor = 2004!) that it seems to be taken for granted now -- and beginners like me don't know where to start.

I have a sprites table with all the characters of my font. It's a rather large (but still pixelly) and fancy font, not too easy to draw again pixel by pixel.

I've been searching how to turn that into an AGS Font, but I'm not too sure :
- Radiant's editor targets SCI fonts and already-existing TTF fonts.
- The more recent WFN font editor also allows to use TTF fonts.

But how do I do if I start from my sprites table? Once agian sorry if the answer is obvious but mys earches always lead me to Radiant's tool.

 

Scavenger

The way I did it for my fonts was to create a proxy font with the right dimensions as the one on your sprite sheet, and export it from Radiant FontEdit as a BMP. You can then open that in MSPaint and paste in the correct characters, then open it back up in FontEdit, and there you go.

Don't resize any of the sprite boxes in MSPaint, though, FontEdit is finnicky with stuff like that. And it also might be a little difficult to identify what character goes where if you make an entirely blank sprite, so always edit an existing one, or scrawl in the A slot, and the 0 slot, so you know which parts go where.

After that, you can resize the font again in FontEdit, and there you go.

Monsieur OUXX

OK my question was really stupid : I had downloaded Radiant's tool and I had run it, and yet I just didn't see that it's possible to import BMP files. For some reason, only the *.ttf, font.* and *.wfn caught my attention. I was convinced they were the only supported formats. I just didn't see "*.bmp".

Problem solved! Thanks Scavenger.

 

SMF spam blocked by CleanTalk