1 //========================================================================
5 // Copyright 1996-2002 Glyph & Cog, LLC
7 //========================================================================
12 //------------------------------------------------------------------------
14 //------------------------------------------------------------------------
17 #define xpdfVersion "2.01"
18 #define xpdfVersionNum 2.01
19 #define xpdfMajorVersion 2
20 #define xpdfMinorVersion 1
21 #define xpdfMajorVersionStr "2"
23 // supported PDF version
24 #define supportedPDFVersionStr "1.4"
25 #define supportedPDFVersionNum 1.4
28 #define xpdfCopyright "Copyright 1996-2002 Glyph & Cog, LLC"
30 // Windows resource file stuff
31 #define winxpdfVersion "WinXpdf 2.01"
32 #define xpdfCopyrightAmp "Copyright 1996-2002 Glyph && Cog, LLC"
34 //------------------------------------------------------------------------
36 //------------------------------------------------------------------------
38 // default paper size (in points) for PostScript output
40 #define defPaperWidth 595 // ISO A4 (210x297 mm)
41 #define defPaperHeight 842
43 #define defPaperWidth 612 // American letter (8.5x11")
44 #define defPaperHeight 792
47 //------------------------------------------------------------------------
48 // config file (xpdfrc) path
49 //------------------------------------------------------------------------
51 // user config file name, relative to the user's home directory
52 #if defined(VMS) || (defined(WIN32) && !defined(__CYGWIN32__))
53 #define xpdfUserConfigFile "xpdfrc"
55 #define xpdfUserConfigFile ".xpdfrc"
58 // system config file name (set via the configure script)
60 #define xpdfSysConfigFile SYSTEM_XPDFRC
62 // under Windows, we get the directory with the executable and then
63 // append this file name
64 #define xpdfSysConfigFile "xpdfrc"
67 //------------------------------------------------------------------------
68 // X-related constants
69 //------------------------------------------------------------------------
71 // default maximum size of color cube to allocate
72 #define defaultRGBCube 5
74 // number of fonts (combined t1lib, FreeType, X server) to cache
75 #define xOutFontCacheSize 64
77 // number of Type 3 fonts to cache
78 #define xOutT3FontCacheSize 8
80 //------------------------------------------------------------------------
82 //------------------------------------------------------------------------
86 #define pclose _pclose
89 #if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(WIN32) || defined(__DJGPP__) || defined(MACOS)
90 #define POPEN_READ_MODE "rb"
92 #define POPEN_READ_MODE "r"
95 //------------------------------------------------------------------------
97 //------------------------------------------------------------------------
104 #define CDECL __cdecl