Two-way painless ‘pixel font’ creation

Ok, here it is: a software to painlessly create so-called pixel or bitmap fonts, SimpleFont. It’s a commercial software and I haven’t tested it already, but some people might be interested. Via Quasimondo.

While we’re on the subject and I’m feeling like Santa Claus on crack, I remembered I had to make public my special ‘pixel’ font template. Well, download it here. You can use it to create TrueType (TTF) based ‘pixel’ fonts, and it’s free for anything as long as it doesn’t include kitten killing. Here’s some needed instructions:

1. Use either FontLab or TypeTool to open the .VFB file. Both share a very similar interface and will produce the same results. Both are commercial software and both have a trial version, too, although FontLab costs $549 and TypeTool costs $99 (and comes with less advanced features). So, yeah, this is only free if you already have one of these tools. Sorry.

2. Set your grid steps (Tools > Options > Glyph) to 256×256. That will ensure that each grid box on your screen is the same than a pixel.

3. Create and edit your letters. Each box on a grid will make one pixel, when the font is used at size 8, so just draw squares like there’s no tomorrow! It’s pretty easy, though, both FL and TT has some nice boolean drawing tools which makes ‘bitmap’ font creation amazingly easy.

4. Flash has a rendering problem which makes small fonts be filled when their interiors are too small. To avoid this, you have to make sure the “hollow” parts of the font aren’t real holes (they will look like they are). On the font sample you download, check the ‘B’ glyph. Zoom it to the maximum, and check the part in with the medium horizontal line touches the outer archs. You’ll notice a small diagonal gap of exactly two points. You need a space at least this big to make sure the font’s won’t get filled and render like ink blots (I learnt this trick from the guy from some 4 years ago, although I don’t think he has this on his site anymore).

5. Remember to change the font name and information before release.

Cool, huh? I think so. And I’m not even a communist.

PS: It’s important to note this template file was created solely by me and not copied and/or modified from any other source. I actually went through hell to get this font’s metrics to work correctly – even though in the end they’re pretty simple dumb numbers – and I think the result is satisfactory enough to let it be released like this. Comments and critics are appreciated, though.

Update: Brew just pointed out on the comments that the article I mentioned is mirrored at UltraShock in all its glory. More than being an article on font fixing, it’s an article that teachs how to create pixel fonts on a Fontographer. Pretty cool.

I’d like to point that I disagree with the way the no-fill solution is done, however; I like to make “open” fonts myself (see step 4, above), and keep the vertical and horizontal lines straight on the grid, leaving only a single diagonal opening on one single. Both solutions have the same result on its minimal (ideal) font size, but since there’s a bigger modification on the color weight, bigger path modifications such as moving one entire vertical line will produce errors earlier on greater sizes. That’s a really good article and a breakthrough when it was published, but use caution when doing the no-fill fix.

3 responses

  1. That’s the one! Although (looking at it again) I disagree with the way the correction is done, it is still a invaluable insight. Thanks, brew.

  2. I just made one pxlfont, using your template… Works great ! I’d like to send it to you, but I lost your email adress…

Comments are closed.