xref: /plan9/sys/src/cmd/postscript/common/glob.c (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
1 /*
2  *
3  * Global varibles - for PostScript translators.
4  *
5  */
6 
7 #include <stdio.h>
8 #include "gen.h"
9 
10 char	**argv;				/* global so everyone can use them */
11 int	argc;
12 
13 int	x_stat = 0;			/* program exit status */
14 int	debug = OFF;			/* debug flag */
15 int	ignore = OFF;			/* what we do with FATAL errors */
16 
17 long	lineno = 0;			/* line number */
18 long	position = 0;			/* byte position */
19 char	*prog_name = "";		/* and program name - for errors */
20 char	*temp_file = NULL;		/* temporary file - for some programs */
21 char	*fontencoding = NULL;		/* text font encoding scheme */
22 
23 int	dobbox = FALSE;			/* enable BoundingBox stuff if TRUE */
24 double	pageheight = PAGEHEIGHT;	/* only for BoundingBox calculations! */
25 double	pagewidth = PAGEWIDTH;
26 
27 int	reading = UTFENCODING;		/* input */
28 int	writing = WRITING;		/* and output encoding */
29 
30