diff options
author | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2002-09-18 20:32:18 (GMT) |
---|---|---|
committer | Martin Kretzschmar <mkretzschmar@src.gnome.org> | 2002-09-18 20:32:18 (GMT) |
commit | 7aac8dc8533347e21311b15186e0af82f1b22fd6 (patch) | |
tree | 02650bb02c8a1d8468c22f50ff151885d233016b /pdf/xpdf/xpdfconfig.h | |
parent | d99fb4f4acd14fcdbda968abd907547dcc7af40c (diff) |
Synched with Xpdf 0.92
this adds "decryption" support
testing this code after six weeks immediately gives me segfaults (image drawing) :-O
must have fixed that later without knowing :-O
Diffstat (limited to 'pdf/xpdf/xpdfconfig.h')
-rw-r--r-- | pdf/xpdf/xpdfconfig.h | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/pdf/xpdf/xpdfconfig.h b/pdf/xpdf/xpdfconfig.h index 742c49f..eb56cb4 100644 --- a/pdf/xpdf/xpdfconfig.h +++ b/pdf/xpdf/xpdfconfig.h @@ -14,14 +14,14 @@ //------------------------------------------------------------------------ // xpdf version -#define xpdfVersion "0.90.1" +#define xpdfVersion "0.92.1" // supported PDF version -#define pdfVersion "1.3" -#define pdfVersionNum 1.3 +#define supportedPDFVersionStr "1.3" +#define supportedPDFVersionNum 1.3 // copyright notice -#define xpdfCopyright "Copyright \251 1996-1999 Derek B. Noonburg" +#define xpdfCopyright "Copyright 1996-2000 Derek B. Noonburg" // default paper size (in points) for PostScript output #ifdef A4_PAPER @@ -52,6 +52,24 @@ // number of Type 1 (t1lib) fonts to cache #define t1FontCacheSize 32 +// number of TrueType (FreeType) fonts to cache +#define ttFontCacheSize 32 + +//------------------------------------------------------------------------ +// popen +//------------------------------------------------------------------------ + +#ifdef _MSC_VER +#define popen _popen +#define pclose _pclose +#endif + +#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(WIN32) || defined(__DJGPP__) || defined(__CYGWIN32) || defined(MACOS) +#define POPEN_READ_MODE "rb" +#else +#define POPEN_READ_MODE "r" +#endif + //------------------------------------------------------------------------ // uncompress program //------------------------------------------------------------------------ @@ -84,10 +102,11 @@ // Win32 stuff //------------------------------------------------------------------------ -#ifdef WIN32 #ifdef CDECL #undef CDECL #endif + +#ifdef _MSC_VER #define CDECL __cdecl #else #define CDECL |