NameDateSize

..10-Nov-202583

bdfload.cH A D10-Nov-202516.2 KiB

MakefileH A D10-Nov-202563

READMEH A D10-Nov-20251.1 KiB

README

1This will attempt to load a .bdf font into wsdisplay, to be used with
2wsconsctl -dw font=<name>
3Optionally it can:
4- produce a header to be used with src/sys/dev/wsfont/
5- write a .wsf file to be used with wsfontload
6- produce debug output
7
8Command line options:
9 -o <file> will write a file instead of trying to feed the font to wsdisplay,
10    default format is wsf
11 -h to be used with -o, will write a header usable with dev/wsfont/
12 -f force bdfload to use a non-monospaced font, which would otherwise be
13    rejected. Use with caution, results will look uneven.
14 -v be verbose. This will dump various font parameters to the console.
15 -d dump glyph shapes to the console, mostly for font debugging
16 -e <encoding> override the font's encoding
17 -N <name> override the font's name for both file output and wsdisplay
18 -2 double the size of a font
19 -s smoothe pixel staircases when enlarging
20
21Caveats:
22- fonts wider than 16 pixels won't work yet
23- some drivers may have trouble with font widths that are not a multiple of 4
24- no attempt has been made to make this play nice with vga text mode
25