home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga 12 / MA_Cover_12.iso / source / xpdf-0.80 / xpdf / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-07-07  |  1.8 KB  |  73 lines

  1. //========================================================================
  2. //
  3. // config.h
  4. //
  5. // Copyright 1996 Derek B. Noonburg
  6. //
  7. //========================================================================
  8.  
  9. #ifndef CONFIG_H
  10. #define CONFIG_H
  11.  
  12. //------------------------------------------------------------------------
  13. // general constants
  14. //------------------------------------------------------------------------
  15.  
  16. // xpdf version
  17. #define xpdfVersion "0.80"
  18. #define apdfVersion "1.3"
  19. #define apdfVerString "Apdf 1.3 (7.7.99)"
  20.  
  21. // supported PDF version
  22. #define pdfVersion "1.2"
  23. #define pdfVersionNum 1.2
  24. // copyright notice
  25. #define xpdfCopyright "Copyright \251 1996-1998 Derek B. Noonburg"
  26.  
  27. // default paper size (in points) for PostScript output
  28. #ifdef A4_PAPER
  29. #define defPaperWidth  595    // ISO A4 (210x297 mm)
  30. #define defPaperHeight 842
  31. #else
  32. #define defPaperWidth  612    // American letter (8.5x11")
  33. #define defPaperHeight 792
  34. #endif
  35.  
  36. // config file name
  37. #if defined(VMS) || defined(__EMX__)
  38. #define xpdfConfigFile "xpdfrc"
  39. #else
  40. #define xpdfConfigFile ".xpdfrc"
  41. #endif
  42.  
  43. //------------------------------------------------------------------------
  44. // X-related constants
  45. //------------------------------------------------------------------------
  46.  
  47. // default maximum size of color cube to allocate
  48. #define defaultRGBCube 5
  49.  
  50. // number of fonts to cache
  51. #define fontCacheSize 32
  52.  
  53. //------------------------------------------------------------------------
  54. // uncompress program
  55. //------------------------------------------------------------------------
  56.  
  57. extern const char *uncompressCmd;
  58.  
  59. //------------------------------------------------------------------------
  60. // Win32 stuff
  61. //------------------------------------------------------------------------
  62.  
  63. #ifdef WIN32
  64. #ifdef CDECL
  65. #undef CDECL
  66. #endif
  67. #define CDECL __cdecl
  68. #else
  69. #define CDECL
  70. #endif
  71.  
  72. #endif
  73.