112588Sslatteng /* 212588Sslatteng dev.h: characteristics of a typesetter 312588Sslatteng */ 412588Sslatteng 512588Sslatteng struct dev { 614377Sslatteng unsigned short filesize; /* number of bytes in file, */ 712588Sslatteng /* excluding dev part */ 812588Sslatteng short res; /* basic resolution in goobies/inch */ 912588Sslatteng short hor; /* goobies horizontally */ 1012588Sslatteng short vert; 1112588Sslatteng short unitwidth; /* size at which widths are given, in effect */ 1212588Sslatteng short nfonts; /* number of fonts physically available */ 1312588Sslatteng short nsizes; /* number of sizes it has */ 1412588Sslatteng short sizescale; /* scaling for fractional point sizes */ 1512588Sslatteng short paperwidth; /* max line length in units */ 1612588Sslatteng short paperlength; /* max paper length in units */ 1712588Sslatteng short nchtab; /* number of funny names in chtab */ 1812588Sslatteng short lchname; /* length of chname table */ 1916278Sslatteng short nstips; /* in case of expansion */ 2016278Sslatteng short spare1; 2112588Sslatteng }; 2212588Sslatteng 2312588Sslatteng struct font { /* characteristics of a font */ 2412588Sslatteng char nwfont; /* number of width entries for this font */ 2512588Sslatteng char specfont; /* 1 == special font */ 2612588Sslatteng char ligfont; /* 1 == ligatures exist on this font */ 2712588Sslatteng char spare1; /* unused for now */ 28*25464Sslatteng char namefont[10]; /* name of this font (e.g., "R" */ 29*25464Sslatteng char intname[10]; /* internal name (=number) on device, in ascii */ 3012588Sslatteng }; 3112588Sslatteng 3212588Sslatteng /* ligatures, ORed into ligfont */ 3312588Sslatteng 3412588Sslatteng #define LFF 01 3512588Sslatteng #define LFI 02 3612588Sslatteng #define LFL 04 3712588Sslatteng #define LFFI 010 3812588Sslatteng #define LFFL 020 39