home *** CD-ROM | disk | FTP | other *** search
- /* vfont.h */
-
- /* Needed parameters of vector fonts */
-
- #define HEADSIZE 10 /* size of header record for vector font */
- #define PART2SIZE 9 /* size of a part2 record */
- #define PART3SIZE 3 /* size of a part3 record (triple) */
-
- struct vfont
- {
- int recs; /* number of characters in font */
- unsigned p2size; /* size of part2 section of font */
- unsigned p3size; /* size of part3 section of font */
- int maxwidth; /* maximum width of 1 character */
- int maxhigh; /* maximum height of 1 character */
- char *part2; /* part2 section of font */
- char *part3; /* part3 section of font */
- float scale; /* current scaling factor for font */
- };
-
- struct _vfpart2
- {
- unsigned part3pos; /* position in part 3 of file */
- int triples; /* number of triples for this character */
- char width; /* width of the character cell */
- char high; /* height of the character cell */
- char baseline; /* # of pixels used below baseline */
- char blanks; /* # of blank pixels to right of character */
- };
-
- struct _vfpart3
- {
- int col; /* column movement */
- int row; /* row movement */
- };
-
-