1
//========================================================================
5
// Copyright 1996-2007 Glyph & Cog, LLC
7
//========================================================================
8
// Modified for TeX Live by Peter Breitenlohner <tex-live@tug.org>
9
// See top-level ChangeLog for a list of all modifications
10
//========================================================================
15
//------------------------------------------------------------------------
17
//------------------------------------------------------------------------
20
#define xpdfVersion "3.02pl3"
21
#define xpdfVersionNum 3.02
22
#define xpdfMajorVersion 3
23
#define xpdfMinorVersion 2
24
#define xpdfUpdateVersion 0
25
#define xpdfMajorVersionStr "3"
26
#define xpdfMinorVersionStr "2"
27
#define xpdfUpdateVersionStr "0"
29
// supported PDF version
30
#define supportedPDFVersionStr "1.7"
31
#define supportedPDFVersionNum 1.7
34
#define xpdfCopyright "Copyright 1996-2007 Glyph & Cog, LLC"
36
// Windows resource file stuff
37
#define winxpdfVersion "WinXpdf 3.02"
38
#define xpdfCopyrightAmp "Copyright 1996-2007 Glyph && Cog, LLC"
40
//------------------------------------------------------------------------
42
//------------------------------------------------------------------------
44
// default paper size (in points) for PostScript output
46
#define defPaperWidth 595 // ISO A4 (210x297 mm)
47
#define defPaperHeight 842
49
#define defPaperWidth 612 // American letter (8.5x11")
50
#define defPaperHeight 792
53
//------------------------------------------------------------------------
54
// config file (xpdfrc) path
55
//------------------------------------------------------------------------
57
// user config file name, relative to the user's home directory
58
#if defined(VMS) || (defined(WIN32) && !defined(__CYGWIN32__))
59
#define xpdfUserConfigFile "xpdfrc"
61
#define xpdfUserConfigFile ".xpdfrc"
64
// system config file name (set via the configure script)
66
#define xpdfSysConfigFile SYSTEM_XPDFRC
68
// under Windows, we get the directory with the executable and then
69
// append this file name
70
#define xpdfSysConfigFile "xpdfrc"
73
//------------------------------------------------------------------------
74
// X-related constants
75
//------------------------------------------------------------------------
77
// default maximum size of color cube to allocate
78
#define defaultRGBCube 5
80
// number of fonts (combined t1lib, FreeType, X server) to cache
81
#define xOutFontCacheSize 64
83
// number of Type 3 fonts to cache
84
#define xOutT3FontCacheSize 8
86
//------------------------------------------------------------------------
88
//------------------------------------------------------------------------
90
#if defined(_MSC_VER) || defined(__BORLANDC__)
92
#define pclose _pclose
95
#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(WIN32) || defined(__DJGPP__) || defined(MACOS)
96
#define POPEN_READ_MODE "rb"
98
#define POPEN_READ_MODE "r"
101
//------------------------------------------------------------------------
103
//------------------------------------------------------------------------
109
#if defined(_MSC_VER) || defined(__BORLANDC__)
110
#define CDECL __cdecl