1 //========================================================================
5 // Copyright 1996 Derek B. Noonburg
7 //========================================================================
12 //------------------------------------------------------------------------
14 //------------------------------------------------------------------------
17 #define xpdfVersion "0.92"
19 // supported PDF version
20 #define supportedPDFVersionStr "1.3"
21 #define supportedPDFVersionNum 1.3
24 #define xpdfCopyright "Copyright 1996-2000 Derek B. Noonburg"
26 // default paper size (in points) for PostScript output
28 #define defPaperWidth 595 // ISO A4 (210x297 mm)
29 #define defPaperHeight 842
31 #define defPaperWidth 612 // American letter (8.5x11")
32 #define defPaperHeight 792
37 #define xpdfConfigFile "xpdfrc"
39 #define xpdfConfigFile ".xpdfrc"
42 //------------------------------------------------------------------------
43 // X-related constants
44 //------------------------------------------------------------------------
46 // default maximum size of color cube to allocate
47 #define defaultRGBCube 5
49 // number of X server fonts to cache
50 #define serverFontCacheSize 16
52 // number of Type 1 (t1lib) fonts to cache
53 #define t1FontCacheSize 32
55 // number of TrueType (FreeType) fonts to cache
56 #define ttFontCacheSize 32
58 //------------------------------------------------------------------------
60 //------------------------------------------------------------------------
64 #define pclose _pclose
67 #if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(WIN32) || defined(__DJGPP__) || defined(__CYGWIN32) || defined(MACOS)
68 #define POPEN_READ_MODE "rb"
70 #define POPEN_READ_MODE "r"
73 //------------------------------------------------------------------------
75 //------------------------------------------------------------------------
79 // command to uncompress to stdout
81 # define uncompressCmd "gzip -d -c -q"
84 # define uncompressCmd "compress -d -c"
86 # define uncompressCmd "uncompress -c"
92 // command to uncompress a file
94 # define uncompressCmd "gzip -d -q"
96 # define uncompressCmd "uncompress"
101 //------------------------------------------------------------------------
103 //------------------------------------------------------------------------
110 #define CDECL __cdecl