Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

config.h

Go to the documentation of this file.
00001 //========================================================================
00002 //
00003 // config.h
00004 //
00005 // Copyright 1996-2004 Glyph & Cog, LLC
00006 //
00007 //========================================================================
00008 
00009 #ifndef CONFIG_H
00010 #define CONFIG_H
00011 
00012 //------------------------------------------------------------------------
00013 // version
00014 //------------------------------------------------------------------------
00015 
00016 // xpdf version
00017 #define xpdfVersion         "3.00"
00018 #define xpdfVersionNum      3.00
00019 #define xpdfMajorVersion    3
00020 #define xpdfMinorVersion    0
00021 #define xpdfMajorVersionStr "3"
00022 #define xpdfMinorVersionStr "0"
00023 
00024 // supported PDF version
00025 #define supportedPDFVersionStr "1.5"
00026 #define supportedPDFVersionNum 1.5
00027 
00028 // copyright notice
00029 #define xpdfCopyright "Copyright 1996-2004 Glyph & Cog, LLC"
00030 
00031 // Windows resource file stuff
00032 #define winxpdfVersion "WinXpdf 3.00"
00033 #define xpdfCopyrightAmp "Copyright 1996-2004 Glyph && Cog, LLC"
00034 
00035 //------------------------------------------------------------------------
00036 // paper size
00037 //------------------------------------------------------------------------
00038 
00039 // default paper size (in points) for PostScript output
00040 #ifdef A4_PAPER
00041 #define defPaperWidth  595    // ISO A4 (210x297 mm)
00042 #define defPaperHeight 842
00043 #else
00044 #define defPaperWidth  612    // American letter (8.5x11")
00045 #define defPaperHeight 792
00046 #endif
00047 
00048 //------------------------------------------------------------------------
00049 // config file (xpdfrc) path
00050 //------------------------------------------------------------------------
00051 
00052 // user config file name, relative to the user's home directory
00053 #if defined(VMS) || (defined(WIN32) && !defined(__CYGWIN32__))
00054 #define xpdfUserConfigFile "xpdfrc"
00055 #else
00056 #define xpdfUserConfigFile ".xpdfrc"
00057 #endif
00058 
00059 // system config file name (set via the configure script)
00060 #ifdef SYSTEM_XPDFRC
00061 #define xpdfSysConfigFile SYSTEM_XPDFRC
00062 #else
00063 // under Windows, we get the directory with the executable and then
00064 // append this file name
00065 #define xpdfSysConfigFile "xpdfrc"
00066 #endif
00067 
00068 //------------------------------------------------------------------------
00069 // X-related constants
00070 //------------------------------------------------------------------------
00071 
00072 // default maximum size of color cube to allocate
00073 #define defaultRGBCube 5
00074 
00075 // number of fonts (combined t1lib, FreeType, X server) to cache
00076 #define xOutFontCacheSize 64
00077 
00078 // number of Type 3 fonts to cache
00079 #define xOutT3FontCacheSize 8
00080 
00081 //------------------------------------------------------------------------
00082 // popen
00083 //------------------------------------------------------------------------
00084 
00085 #if defined(_MSC_VER) || defined(__BORLANDC__)
00086 #define popen _popen
00087 #define pclose _pclose
00088 #endif
00089 
00090 #if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(WIN32) || defined(__DJGPP__) || defined(MACOS)
00091 #define POPEN_READ_MODE "rb"
00092 #else
00093 #define POPEN_READ_MODE "r"
00094 #endif
00095 
00096 //------------------------------------------------------------------------
00097 // Win32 stuff
00098 //------------------------------------------------------------------------
00099 
00100 #ifdef CDECL
00101 #undef CDECL
00102 #endif
00103 
00104 #if defined(_MSC_VER) || defined(__BORLANDC__)
00105 #define CDECL __cdecl
00106 #else
00107 #define CDECL
00108 #endif
00109 
00110 #endif

Generated on Wed Nov 3 12:58:52 2004 for Lemur Toolkit by doxygen1.2.18