|
|
1.1 root 1:
2: /*
3: *
4: * Some important definitions used by the program that builds raster tables
5: * and troff's ASCII files from Imagen supplied raster files.
6: *
7: */
8:
9:
10: #define L_CHNAME 2 /* longest special character name */
11: #define MAX_INDEX 128 /* largest allowed glyph number */
12: #define GLYDIR_SIZE 15 * MAX_INDEX /* enough room for a whole directory */
13:
14:
15: typedef struct {
16:
17: char name[L_CHNAME+1]; /* special char names saved here */
18:
19: } Charset;
20:
21: typedef struct {
22:
23: char name[L_CHNAME+1]; /* name of the special character */
24: char *map; /* address of the bitmap */
25: int mapsize; /* size in bytes of the bitmap */
26: int chwidth; /* new char width if >= 0 */
27: char *glydir; /* new glyph directory entry */
28: char rastname[15]; /* glyph comes from this file */
29: int index; /* glyph number in *rastname */
30: char synonyms[100]; /* synonyms that go in font file */
31:
32: } Charinfo;
33:
34:
35: extern unsigned readvalue();
36:
37:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.