|
|
1.1 root 1: /* fwtable.h */
2:
3: /* Manifest constants. */
4: #define FLAG_PCL 1 /* PCL font width table flag */
5: #define FLAG_PS 2 /* PostScript font width table flag */
6: #define NBUF 512
7: #define NWIDTH 256 /* character buffer size */
8: #define VERSION "1.5"
9:
10: /* Debugging output macro. */
11: #if DEBUG
12: #define dbprintf(args) fprintf args
13: #else
14: #define dbprintf(args)
15: #endif
16:
17: /* Type definitions. */
18: typedef unsigned char uchar;
19:
20: /* Functions in fwtable.c. */
21: char *alloc();
22: void base();
23: int char_code();
24: void dump_chartab();
25: void dump_glyph();
26: void escape();
27: void escape_cparen();
28: void escape_oparen();
29: void escape_star();
30: void fatal();
31: void getextra();
32: int getparm();
33: short getshort();
34: unsigned int getuchar();
35: void nonfatal();
36: void ofpwrite();
37: void putshort();
38: void putstring();
39: void read_header();
40: void usage();
41:
42: /* Functions in fwt_PS.c. */
43: void character();
44: void charmetrics();
45: void inputPS();
46: int lookup();
47: char *newstring();
48: void outputPS();
49:
50: /* Functions in fwt_TFM.c. */
51: long gcd();
52: long getlong();
53: void getrational();
54: char *getstring();
55: int getword();
56: void inputTFM();
57: void outputTFM();
58: int PCL_width();
59: int *read_array();
60: void read_symbol_set();
61: void xseek();
62: long xtell();
63:
64: /* Externals in libc.a. */
65: extern long ftell();
66: /* extern char *malloc(); */
67:
68: /* Globals in fwtable.c. */
69: extern char buf[NBUF];
70: extern int cflag;
71: extern int char_datasize[NWIDTH];
72: extern int char_movement[NWIDTH];
73: extern FILE *ifp;
74: extern int ipointsz;
75: extern FILE *ofp;
76: extern int pflag;
77: extern char *symset;
78: extern int tflag;
79: extern int this_char;
80: extern int vflag;
81:
82: /* Globals in fwtableps.c. */
83: extern int lineno;
84:
85: /* end of fwtable.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.