This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | vfont_dispatch |
struct | vfont |
Defines | |
#define | SXT(c) ((c)|((c&0x80)?(~0xFF):0)) |
#define | VFONT_NULL ((struct vfont *)NULL) |
Functions | |
vfont * | vfont_get () |
void | vfont_free () |
The VAX declaration of the file is:
struct header { short magic; unsigned short size; short maxx; short maxy; short xtend; }; struct dispatch { unsigned short addr; short nbytes; char up, down, left, right; short width; }; char bits[header.size];
The char fields up, down, left, and right in the VAX-version of struct dispatch are signed. Use the SXT macro to extend the sign.
The actual bits array has the upper left corner of the bitmap in the first byte. Bits are scanned out of the bytes in a left-to-right, top-to-bottom order (most decidedly non-VAX style). Never seems to be any consistency in data formats.
Definition in file vfont-if.h.