WSF File Format

From WinWolf3D/WDC

WSF files store font data and are used by FloEdit and WDC.

 typedef struct {
   char   fileVersion[6]; // "WSF1.0"
   byte   height;
   byte   widths[256];
   byte   points[256][];
 } WSFFileFormat

The length of each index in the points array is found by multiplying the height by the corresponding widths value. Widths can be 0. Each index corresponds to a character in the ASCII table.

The value of each point can be 0x00, which indicates an empty point, or 0xff, which indicates that the point is to be drawn.

Points are stored in row-major order.