Files
lotherkandClaude Opus 5.5 c1c0713359 xsrc: import NetBSD xsrc 99aacae30 raw (no .git), its commit in xsrc/BASE
X is the base's again (Konrad, 2026-11-13): the X from pkgsrc in the
makronix set did not start anywhere (no input driver, no keymap, no
"fixed" font; dtlogin "The X-server can not be started on display :0").
Same commit as before the removal in e7bd6d940 (PINS then).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 20:13:37 +00:00
..

This will attempt to load a .bdf font into wsdisplay, to be used with
wsconsctl -dw font=<name>
Optionally it can:
- produce a header to be used with src/sys/dev/wsfont/
- write a .wsf file to be used with wsfontload
- produce debug output

Command line options:
 -o <file> will write a file instead of trying to feed the font to wsdisplay,
    default format is wsf
 -h to be used with -o, will write a header usable with dev/wsfont/
 -f force bdfload to use a non-monospaced font, which would otherwise be
    rejected. Use with caution, results will look uneven.
 -v be verbose. This will dump various font parameters to the console.
 -d dump glyph shapes to the console, mostly for font debugging
 -e <encoding> override the font's encoding
 -N <name> override the font's name for both file output and wsdisplay
 -2 double the size of a font
 -s smoothe pixel staircases when enlarging

Caveats:
- fonts wider than 16 pixels won't work yet
- some drivers may have trouble with font widths that are not a multiple of 4
- no attempt has been made to make this play nice with vga text mode