Home | History | Annotate | only in /xsrc/local/programs/bdfload
Up to higher level directory
NameDateSize
bdfload.c07-Jun-202616.8K
Makefile08-May-202263
README12-Mar-20241.1K

README

      1 This will attempt to load a .bdf font into wsdisplay, to be used with
      2 wsconsctl -dw font=<name>
      3 Optionally 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 
      8 Command 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 
     21 Caveats:
     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