bdf2c/readme.txt

26 lines
545 B
Plaintext
Raw Normal View History

2009-01-23 10:17:49 +00:00
2009-01-23 10:18:59 +00:00
My version of BDF fonts convertor to C includes, which can be used to
embed fonts into the executable.
2009-01-23 10:17:49 +00:00
Usage:
./bdf2c -c
Print #defines for font files to stdout.
./bdf2c -C font.h
Create font.h, which contains #defines for fonts.
2009-02-18 14:32:05 +00:00
./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.