2
//========================================================================
6
// Copyright 1996-2002 Glyph & Cog, LLC
8
//========================================================================
13
//------------------------------------------------------------------------
15
//------------------------------------------------------------------------
18
#define xpdfVersion "2.01"
19
#define xpdfVersionNum 2.01
20
#define xpdfMajorVersion 2
21
#define xpdfMinorVersion 1
22
#define xpdfMajorVersionStr "2"
24
// supported PDF version
25
#define supportedPDFVersionStr "1.4"
26
#define supportedPDFVersionNum 1.4
29
#define xpdfCopyright "Copyright 1996-2002 Glyph & Cog, LLC"
31
// Windows resource file stuff
32
#define winxpdfVersion "WinXpdf 2.01"
33
#define xpdfCopyrightAmp "Copyright 1996-2002 Glyph && Cog, LLC"
35
//------------------------------------------------------------------------
37
//------------------------------------------------------------------------
39
// default paper size (in points) for PostScript output
41
#define defPaperWidth 595 // ISO A4 (210x297 mm)
42
#define defPaperHeight 842
44
#define defPaperWidth 612 // American letter (8.5x11")
45
#define defPaperHeight 792
48
//------------------------------------------------------------------------
49
// config file (xpdfrc) path
50
//------------------------------------------------------------------------
52
// user config file name, relative to the user's home directory
53
#if defined(VMS) || (defined(WIN32) && !defined(__CYGWIN32__))
54
#define xpdfUserConfigFile "xpdfrc"
56
#define xpdfUserConfigFile ".xpdfrc"
59
// system config file name (set via the configure script)
61
#define xpdfSysConfigFile SYSTEM_XPDFRC
63
// under Windows, we get the directory with the executable and then
64
// append this file name
65
#define xpdfSysConfigFile "xpdfrc"
68
//------------------------------------------------------------------------
69
// X-related constants
70
//------------------------------------------------------------------------
72
// default maximum size of color cube to allocate
73
#define defaultRGBCube 5
75
// number of fonts (combined t1lib, FreeType, X server) to cache
76
#define xOutFontCacheSize 64
78
// number of Type 3 fonts to cache
79
#define xOutT3FontCacheSize 8
81
//------------------------------------------------------------------------
83
//------------------------------------------------------------------------
87
#define pclose _pclose
90
#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(WIN32) || defined(__DJGPP__) || defined(MACOS)
91
#define POPEN_READ_MODE "rb"
93
#define POPEN_READ_MODE "r"
96
//------------------------------------------------------------------------
98
//------------------------------------------------------------------------
105
#define CDECL __cdecl