w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

config.h
Go to the documentation of this file.
1 //========================================================================
2 //
3 // config.h
4 //
5 // Copyright 1996-2021 Glyph & Cog, LLC
6 //
7 //========================================================================
8 
9 #ifndef CONFIG_H
10 #define CONFIG_H
11 
12 //------------------------------------------------------------------------
13 // version
14 //------------------------------------------------------------------------
15 
16 // xpdf version
17 #define xpdfVersion "4.03"
18 #define xpdfVersionNum 4.03
19 #define xpdfMajorVersion 4
20 #define xpdfMinorVersion 3
21 #define xpdfUpdateVersion 0
22 #define xpdfMajorVersionStr "4"
23 #define xpdfMinorVersionStr "3"
24 #define xpdfUpdateVersionStr "0"
25 
26 // supported PDF version
27 #define supportedPDFVersionStr "2.0"
28 #define supportedPDFVersionNum 2.0
29 
30 // copyright notice
31 #define xpdfCopyright "Copyright 1996-2021 Glyph & Cog, LLC"
32 
33 // Windows resource file stuff
34 #define winxpdfVersion "WinXpdf 4.03"
35 #define xpdfCopyrightAmp "Copyright 1996-2021 Glyph && Cog, LLC"
36 
37 //------------------------------------------------------------------------
38 // paper size
39 //------------------------------------------------------------------------
40 
41 // default paper size (in points) for PostScript output
42 #ifdef A4_PAPER
43 #define defPaperWidth 595 // ISO A4 (210x297 mm)
44 #define defPaperHeight 842
45 #else
46 #define defPaperWidth 612 // American letter (8.5x11")
47 #define defPaperHeight 792
48 #endif
49 
50 //------------------------------------------------------------------------
51 // config file (xpdfrc) path
52 //------------------------------------------------------------------------
53 
54 // user config file name, relative to the user's home directory
55 #if defined(VMS) || defined(_WIN32)
56 #define xpdfUserConfigFile "xpdfrc"
57 #else
58 #define xpdfUserConfigFile ".xpdfrc"
59 #endif
60 
61 // system config file name (set via the configure script)
62 #if defined(_WIN32)
63 // under Windows, we get the directory with the executable and then
64 // append this file name
65 #define xpdfSysConfigFile "xpdfrc"
66 #elif defined(SYSTEM_XPDFRC)
67 #define xpdfSysConfigFile SYSTEM_XPDFRC
68 #else
69 #define xpdfSysConfigFile "/etc/xpdfrc"
70 #endif
71 
72 //------------------------------------------------------------------------
73 // X-related constants
74 //------------------------------------------------------------------------
75 
76 // default maximum size of color cube to allocate
77 #define defaultRGBCube 5
78 
79 //------------------------------------------------------------------------
80 // popen
81 //------------------------------------------------------------------------
82 
83 #if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(_WIN32) || defined(__DJGPP__)
84 #define POPEN_READ_MODE "rb"
85 #else
86 #define POPEN_READ_MODE "r"
87 #endif
88 
89 //------------------------------------------------------------------------
90 // Win32 stuff
91 //------------------------------------------------------------------------
92 
93 #ifdef CDECL
94 #undef CDECL
95 #endif
96 
97 #if defined(_MSC_VER) || defined(__BORLANDC__)
98 #define CDECL __cdecl
99 #else
100 #define CDECL
101 #endif
102 
103 #endif