Annotation of researchv10dc/cmd/dimpress/dev.h, revision 1.1.1.1

1.1       root        1: /*     Copyright (c) 1984 AT&T */
                      2: /*       All Rights Reserved   */
                      3: 
                      4: /*     THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T     */
                      5: /*     The copyright notice above does not evidence any        */
                      6: /*     actual or intended publication of such source code.     */
                      7: 
                      8: /* #ident      "@(#)roff:troff.d/dev.h 2.4" */
                      9: /*
                     10:        dev.h: characteristics of a typesetter
                     11: */
                     12: 
                     13: struct dev {
                     14:        unsigned short  filesize;       /* number of bytes in file, */
                     15:                                /* excluding dev part */
                     16:        short   res;            /* basic resolution in goobies/inch */
                     17:        short   hor;            /* goobies horizontally */
                     18:        short   vert;
                     19:        short   unitwidth;      /* size at which widths are given, in effect */
                     20:        short   nfonts;         /* number of fonts physically available */
                     21:        short   nsizes;         /* number of sizes it has */
                     22:        short   sizescale;      /* scaling for fractional point sizes */
                     23:        short   paperwidth;     /* max line length in units */
                     24:        short   paperlength;    /* max paper length in units */
                     25:        short   nchtab;         /* number of funny names in chtab */
                     26:        short   lchname;        /* length of chname table */
                     27:        short   biggestfont;    /* #chars in largest ever font */
                     28:        short   spare2;         /* in case of expansion */
                     29: };
                     30: 
                     31: struct Font {          /* characteristics of a font */
                     32:        char    nwfont;         /* number of width entries for this font */
                     33:        char    specfont;       /* 1 == special font */
                     34:        char    ligfont;        /* 1 == ligatures exist on this font */
                     35:        char    spare1;         /* unused for now */
                     36:        char    namefont[10];   /* name of this font (e.g., "R" */
                     37:        char    intname[10];    /* internal name (=number) on device, in ascii */
                     38: };
                     39: 
                     40: /* ligatures, ORed into ligfont */
                     41: 
                     42: #define        LFF     01
                     43: #define        LFI     02
                     44: #define        LFL     04
                     45: #define        LFFI    010
                     46: #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.