summaryrefslogtreecommitdiff
path: root/systems/msdos/dviware/dvilj4/config.h
blob: 0a0d8798c3a9d8cf9d6f8d24b29f429ebf1e9532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#define USEPXL

/*
 *  default font path
 *  can be overridden by environment variable TEXPXL
 *  or -a option
 *  popular choice:
 * #define  FONTAREA       "/usr/TeX/lib/tex/fonts" */
#ifdef vms
#define  FONTAREA	"tex$pkdir:"
#else
#define  FONTAREA       "/tex/fonts/canon"
#endif

/* 
 * if your LaserJet II P or LaserJet III or LaserJet 2000
 * complains about not enough memory, you might try to reduce 
 * the value below or uncomment to use the default settings
 */  
#ifdef LJ2P
#define  MAX_FONTS_PER_PAGE 255         /* maximum number of fonts per page */
#endif

/* Unix user: remove the following definition if you cannot access the
 * appropriate C library functions
 */
#ifndef u3b2
#define TIMING
#endif

#ifdef unix
/* name of the program which is called to generate pk files which are missing
 */
#define MAKETEXPK "MakeTeXPK"
#endif

/*
 * assure that LJ2 is defined when LJ2P is defined
 */
#ifdef LJ2P
#ifndef LJ2
#define LJ2
#endif
#endif

/*
 * assure that LJ is defined when LJ2 is defined
 */
#ifdef LJ2
#ifndef LJ
#define LJ
#endif
#endif

/*
 * assure that IBM3812 is not defined when LJ is defined
 */ 
#ifdef LJ
#ifdef IBM3812
#undef IBM3812
#endif
#endif


#define  TRUE      (bool) 1
#define  FALSE     (bool) 0
#define  UNKNOWN     -1

#define  STRSIZE         255     /* stringsize for file specifications  */

typedef  char    bool;

#ifdef hpux
typedef  char    signed_char;
#else
#ifdef vms
typedef  char    signed_char;
#else
#ifdef u3b2
typedef  short signed_char;
#else
/* this is the default !! */
typedef  signed char    signed_char; 
#endif 
#endif
#endif


#ifndef u3b2
#define  ARITHMETIC_RIGHT_SHIFT
#endif


bool findfile();


/* 
 * maximal number of characters in font file
 * #define  LASTFNTCHAR  127        7-bit classic version
 * #define  LASTFNTCHAR  255        8-bit fonts
 */

#ifdef SEVENBIT 
#define LASTFNTCHAR 127
#else
#define  LASTFNTCHAR  255
#endif



/* this information is needed in findfile.c and dvi2xx.c, NO CUSTOMIZATION */
#ifdef LJ
#ifdef LJ4
#define  RESOLUTION    600
#define MODE "hplf"    /* mode definition for metafont */
#else
#define  RESOLUTION    300
#define MODE "localfont"    /* mode definition for metafont */
#endif 
#endif

#ifdef IBM3812
#define  RESOLUTION    240
#define MODE "IBMThreeEightOneTwo"    /* mode definition for metafont */
#endif