home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 110 / EnigmaAmiga110CD.iso / indispensabili / utility / apdf / xpdf-0.80 / xpdf / params.h < prev    next >
C/C++ Source or Header  |  1999-04-12  |  952b  |  42 lines

  1. //========================================================================
  2. //
  3. // Params.h
  4. //
  5. // Copyright 1996 Derek B. Noonburg
  6. //
  7. //========================================================================
  8.  
  9. #ifndef PARAMS_H
  10. #define PARAMS_H
  11.  
  12. // Print commands as they're executed.
  13. #ifdef NO_PRINT_COMMANDS
  14. static const GBool printCommands = gFalse;
  15. #else
  16. extern GBool printCommands;
  17. #endif
  18.  
  19. // Send error messages to /dev/tty instead of stderr.
  20. extern GBool errorsToTTY;
  21.  
  22. // Font search path.
  23. extern char **fontPath;
  24.  
  25. // Mapping from PDF font name to device font name.
  26. struct DevFontMapEntry {
  27.   char *pdfFont;
  28.   char *devFont;
  29. };
  30. extern DevFontMapEntry *devFontMap;
  31.  
  32. //------------------------------------------------------------------------
  33.  
  34. // Initialize font path and font map, and read configuration file,
  35. // if present.
  36. extern void initParams(char *configFile);
  37.  
  38. // Free memory used for font path and font map.
  39. extern void freeParams();
  40.  
  41. #endif
  42.