otf2bdf is a command-line software that uses the FreeType 2 font rendering library to generate BDF bitmap fonts from OpenType outline fonts at different sizes and resolutions.
This program is essentially the same as the ttf2bdf program except that it uses FreeType 2.*, not FreeType 1.*, has some bug fixes, and includes a new command line parameter to print out the available encoding tables in the font.
If your system does not come with Freetype 2.1.5 or greater, pick up a
Freetype2 distribution (>= 2.1.5) from http://www.freetype.org build and
The ttf2bdf program is included as part of the Freetype 1.* distribution in the /contrib/ttf2bdf/ subdirectory.
Then compile otf2bdf by doing the following:
% make install
· The "configure" script expects the "freetype-config" script to be in the executable path. The "freetype-config" script is installed when Freetype2 is installed.
· The installation directory can be specified by the --prefix=< some dir > command line parameter to the configure script.
· A statically linked version can be created (on Linux/Unix) by compiling like this:
% make STATIC=-static install
Type the following to get a list of command line options:
% otf2bdf -h