Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-10 (4d)  netbsd-9 (4d)  netbsd-8 (8d) 

2024-05-20 13:00:45 UTC Now

2022-06-08 19:19:42 UTC MAIN commitmail json YAML

bdfload: Teach it to write wsf font files.

wsfontload(8) now groks simple "wsf" file format - that is basically a
header of kinda struct wsdisplay_font but with string fields embedded
and numeric fields in little-endian and font data afterwards.

Teach bdfload to write out such files if -o file.wsf argument is
specified.

While here fix a couple of bugs too (sorry, should have been separate
commits).  Fix an off by one in numchars calculations.  Fix the type
of buflen.

(uwe)