|
|
1.1 root 1: /* @(#)font.h 1.1 */
2: struct Fontheader
3: {
4: short f_magic ; /* Should be 0436 */
5: unsigned short f_size ; /* Total size of raster section
6: * of the font file.
7: */
8: short f_maxx ; /* Largest x of character */
9: short f_maxy ; /* Largest y of character */
10: short f_xtnd ; /* Largest extender */
11: } ;
12:
13: struct Charparam
14: {
15: unsigned short c_addr ; /* Offset in file where character
16: * is located.
17: */
18: short c_size ; /* Size in bytes of character */
19: char c_up ; /* c_up + c_down = heigth of */
20: char c_down ; /* raster in font file. */
21: char c_left ; /* c_right + c_left = width of */
22: char c_right ; /* raster in font file. */
23: char c_width ; /* Width, including space required
24: * to print character.
25: */
26: } ;
27:
28: /* RSTRUCTS is the size of the structures at the beginning of a */
29: /* Versatec raster file. RSTRUCTS + (long)charparam->c_addr is */
30: /* the address of the character's raster. */
31:
32: #define RSTRUCTS ((long)(sizeof(struct Fontheader)+ \
33: 256*sizeof(struct Charparam)))
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.