Converts bdf font files into C include files. The Bitmap Distribution Format (BDF) is a file format for storing bitmap fonts. The content is presented as a text file that is intended to be human and computer readable.
Go to file
2009-03-19 21:12:38 +01:00
.gitattributes exclude and ignore must be placed in dot files. 2009-02-16 11:52:27 +01:00
.gitignore Fixed vim swap file in .gitignore. 2009-02-18 21:06:05 +01:00
agpl-3.0.txt Initial version 1 2009-01-23 11:17:49 +01:00
bdf2c.1 Support for generating outline bitmap added. 2009-03-19 21:12:38 +01:00
bdf2c.c Support for generating outline bitmap added. 2009-03-19 21:12:38 +01:00
Makefile corrected 2009-02-16 11:53:33 +01:00
readme.txt Convert bdf files to stdout. 2009-02-18 15:32:05 +01:00

My version of BDF fonts convertor to C includes, which can be used to
embed fonts into the executable.

Usage:
	./bdf2c -c

	Print #defines for font files to stdout.

	./bdf2c -C font.h

	Create font.h, which contains #defines for fonts.

	./bdf2c -b < font.bdf > font.c

	Create font.c which contains the converted bdf font.

The C file contains:

	Bitmap data for the characters.
	Character width table for proportional font
	Character codes table for utf-8 font

TODO:
	Proportional fonts (f.e. generated from ttf2bdf) aren't yet supported.