glob.c 821 B

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