dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: font conversions
From: Greg Haerr (
Date: 2002-09-16

I have completely rewritten the .bdf font conversion routine
(Perl bdf2c and shell script bdf2fnt) as a single C program,
so that win32 users will be able to convert fonts without
having to have Linux, shell scripts, or perl. I'll be submitting
it shortly, but I have a few more options to add.

Following are the options I'm almost done with:

Usage: convbdf [options] [input-files]
           convbdf [options] [single-input-file] [-o output-file]
options can be:
    -c convert .bdf to .c source file
    -f convert .bdf to .fnt font file
    -limit convert characters up to limit
    -start convert characters up from start
    -nomap don't show ascii character data as comments in .c file

I've also got several cool optimizations which allow quite small
font files when width is fixed, for very small built-in fonts.

I'm thinking of putting together a big group of .bdf files for
inspection, these will be easy to evaluate since I'm going
to allow commands like "convbdf -f -c *.bdf".

If anybody has font files to contribute other than the standard
X11 distribution, please send me them. As everyone knows,
we're looking for a halfway-decent 8 pixel high font to use
as the standard builtin font.



Page was last modified "Jan 10 2012" The Rockbox Crew