Revision 9090,
1.4 KB
checked in by ghudson, 28 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r9089,
which included commits to RCS files with non-trunk default branches.
|
Rev | Line | |
---|
[9089] | 1 | /* ditroff device descript structures (DESC file) */ |
---|
| 2 | /* RCSID: $Header: /afs/dev.mit.edu/source/repository/third/transcript/src/dev.h,v 1.1.1.1 1996-10-07 20:25:48 ghudson Exp $ */ |
---|
| 3 | /* |
---|
| 4 | dev.h: characteristics of a typesetter |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | struct dev { |
---|
| 8 | short filesize; /* number of bytes in file, */ |
---|
| 9 | /* excluding dev part */ |
---|
| 10 | short res; /* basic resolution in goobies/inch */ |
---|
| 11 | short hor; /* goobies horizontally */ |
---|
| 12 | short vert; |
---|
| 13 | short unitwidth; /* size at which widths are given, in effect */ |
---|
| 14 | short nfonts; /* number of fonts physically available */ |
---|
| 15 | short nsizes; /* number of sizes it has */ |
---|
| 16 | short sizescale; /* scaling for fractional point sizes */ |
---|
| 17 | short paperwidth; /* max line length in units */ |
---|
| 18 | short paperlength; /* max paper length in units */ |
---|
| 19 | short nchtab; /* number of funny names in chtab */ |
---|
| 20 | short lchname; /* length of chname table */ |
---|
| 21 | short spare1; /* in case of expansion */ |
---|
| 22 | short spare2; |
---|
| 23 | }; |
---|
| 24 | |
---|
| 25 | struct font { /* characteristics of a font */ |
---|
| 26 | char nwfont; /* number of width entries for this font */ |
---|
| 27 | char specfont; /* 1 == special font */ |
---|
| 28 | char ligfont; /* 1 == ligatures exist on this font */ |
---|
| 29 | char spare1; /* unused for now */ |
---|
| 30 | char namefont[10]; /* name of this font (e.g., "R" */ |
---|
| 31 | char intname[10]; /* internal name (=number) on device, in ascii */ |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | /* ligatures, ORed into ligfont */ |
---|
| 35 | |
---|
| 36 | #define LFF 01 |
---|
| 37 | #define LFI 02 |
---|
| 38 | #define LFL 04 |
---|
| 39 | #define LFFI 010 |
---|
| 40 | #define LFFL 020 |
---|
Note: See
TracBrowser
for help on using the repository browser.