Annotation of researchv10no/cmd/troff/dev.h, revision 1.1.1.1

1.1       root        1: /*
                      2:        dev.h: characteristics of a typesetter
                      3: */
                      4: 
                      5: struct dev {
                      6:        unsigned short  filesize;       /* number of bytes in file, */
                      7:                                /* excluding dev part */
                      8:        short   res;            /* basic resolution in goobies/inch */
                      9:        short   hor;            /* goobies horizontally */
                     10:        short   vert;
                     11:        short   unitwidth;      /* size at which widths are given, in effect */
                     12:        short   nfonts;         /* number of fonts physically available */
                     13:        short   nsizes;         /* number of sizes it has */
                     14:        short   sizescale;      /* scaling for fractional point sizes */
                     15:        short   paperwidth;     /* max line length in units */
                     16:        short   paperlength;    /* max paper length in units */
                     17:        short   nchtab;         /* number of funny names in chtab */
                     18:        short   lchname;        /* length of chname table */
                     19:        short   biggestfont;    /* #chars in largest ever font */
                     20:        short   spare2;         /* in case of expansion */
                     21: };
                     22: 
                     23: struct Font {          /* characteristics of a font */
                     24:        char    nwfont;         /* number of width entries for this font */
                     25:        char    specfont;       /* 1 == special font */
                     26:        char    ligfont;        /* 1 == ligatures exist on this font */
                     27:        char    spare1;         /* unused for now */
                     28:        char    namefont[10];   /* name of this font (e.g., "R" */
                     29:        char    intname[10];    /* internal name (=number) on device, in ascii */
                     30: };
                     31: 
                     32: /* ligatures, ORed into ligfont */
                     33: 
                     34: #define        LFF     01
                     35: #define        LFI     02
                     36: #define        LFL     04
                     37: #define        LFFI    010
                     38: #define        LFFL    020

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.