filters

xpdf_config.h

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