~ubuntu-branches/ubuntu/raring/luatex/raring

« back to all changes in this revision

Viewing changes to source/libs/xpdf/xpdf-3.02/xpdf/config.h

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2011-05-20 09:40:39 UTC
  • mfrom: (0.8.1) (1.8.1) (19.2.3 oneiric)
  • Revision ID: package-import@ubuntu.com-20110520094039-7sezr4kqonjqxqz6
Tags: 0.70.1-1
* new upstream release (probably) matching TeX Live 2011
* deactivate fix-luatex-build-with-old-libpng patch, included upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//========================================================================
2
 
//
3
 
// config.h
4
 
//
5
 
// Copyright 1996-2007 Glyph & Cog, LLC
6
 
//
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
 
//========================================================================
11
 
 
12
 
#ifndef CONFIG_H
13
 
#define CONFIG_H
14
 
 
15
 
//------------------------------------------------------------------------
16
 
// version
17
 
//------------------------------------------------------------------------
18
 
 
19
 
// xpdf version
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"
28
 
 
29
 
// supported PDF version
30
 
#define supportedPDFVersionStr "1.7"
31
 
#define supportedPDFVersionNum 1.7
32
 
 
33
 
// copyright notice
34
 
#define xpdfCopyright "Copyright 1996-2007 Glyph & Cog, LLC"
35
 
 
36
 
// Windows resource file stuff
37
 
#define winxpdfVersion "WinXpdf 3.02"
38
 
#define xpdfCopyrightAmp "Copyright 1996-2007 Glyph && Cog, LLC"
39
 
 
40
 
//------------------------------------------------------------------------
41
 
// paper size
42
 
//------------------------------------------------------------------------
43
 
 
44
 
// default paper size (in points) for PostScript output
45
 
#ifdef A4_PAPER
46
 
#define defPaperWidth  595    // ISO A4 (210x297 mm)
47
 
#define defPaperHeight 842
48
 
#else
49
 
#define defPaperWidth  612    // American letter (8.5x11")
50
 
#define defPaperHeight 792
51
 
#endif
52
 
 
53
 
//------------------------------------------------------------------------
54
 
// config file (xpdfrc) path
55
 
//------------------------------------------------------------------------
56
 
 
57
 
// user config file name, relative to the user's home directory
58
 
#if defined(VMS) || (defined(WIN32) && !defined(__CYGWIN32__))
59
 
#define xpdfUserConfigFile "xpdfrc"
60
 
#else
61
 
#define xpdfUserConfigFile ".xpdfrc"
62
 
#endif
63
 
 
64
 
// system config file name (set via the configure script)
65
 
#ifdef SYSTEM_XPDFRC
66
 
#define xpdfSysConfigFile SYSTEM_XPDFRC
67
 
#else
68
 
// under Windows, we get the directory with the executable and then
69
 
// append this file name
70
 
#define xpdfSysConfigFile "xpdfrc"
71
 
#endif
72
 
 
73
 
//------------------------------------------------------------------------
74
 
// X-related constants
75
 
//------------------------------------------------------------------------
76
 
 
77
 
// default maximum size of color cube to allocate
78
 
#define defaultRGBCube 5
79
 
 
80
 
// number of fonts (combined t1lib, FreeType, X server) to cache
81
 
#define xOutFontCacheSize 64
82
 
 
83
 
// number of Type 3 fonts to cache
84
 
#define xOutT3FontCacheSize 8
85
 
 
86
 
//------------------------------------------------------------------------
87
 
// popen
88
 
//------------------------------------------------------------------------
89
 
 
90
 
#if defined(_MSC_VER) || defined(__BORLANDC__)
91
 
#define popen _popen
92
 
#define pclose _pclose
93
 
#endif
94
 
 
95
 
#if defined(VMS) || defined(VMCMS) || defined(DOS) || defined(OS2) || defined(__EMX__) || defined(WIN32) || defined(__DJGPP__) || defined(MACOS)
96
 
#define POPEN_READ_MODE "rb"
97
 
#else
98
 
#define POPEN_READ_MODE "r"
99
 
#endif
100
 
 
101
 
//------------------------------------------------------------------------
102
 
// Win32 stuff
103
 
//------------------------------------------------------------------------
104
 
 
105
 
#ifdef CDECL
106
 
#undef CDECL
107
 
#endif
108
 
 
109
 
#if defined(_MSC_VER) || defined(__BORLANDC__)
110
 
#define CDECL __cdecl
111
 
#else
112
 
#define CDECL
113
 
#endif
114
 
 
115
 
#endif