forked from rbrito/xpdf-poppler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
79 lines (63 loc) · 2.31 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
//========================================================================
//
// config.h
//
// Copyright 1996-2007 Glyph & Cog, LLC
//
//========================================================================
#ifndef CONFIG_H
#define CONFIG_H
//------------------------------------------------------------------------
// version
//------------------------------------------------------------------------
// xpdf version
#define xpdfVersion "3.02"
#define xpdfVersionNum 3.02
#define xpdfMajorVersion 3
#define xpdfMinorVersion 2
#define xpdfUpdateVersion 0
#define xpdfMajorVersionStr "3"
#define xpdfMinorVersionStr "2"
#define xpdfUpdateVersionStr "0"
// supported PDF version
#define supportedPDFVersionStr "1.7"
#define supportedPDFVersionNum 1.7
// copyright notice
#undef xpdfCopyright
#define xpdfCopyright "Copyright 1996-2007 Glyph & Cog, LLC"
//------------------------------------------------------------------------
// paper size
//------------------------------------------------------------------------
// default paper size (in points) for PostScript output
#ifdef A4_PAPER
#define defPaperWidth 595 // ISO A4 (210x297 mm)
#define defPaperHeight 842
#else
#define defPaperWidth 612 // American letter (8.5x11")
#define defPaperHeight 792
#endif
//------------------------------------------------------------------------
// config file (xpdfrc) path
//------------------------------------------------------------------------
// user config file name, relative to the user's home directory
#define xpdfUserConfigFile ".xpdfrc"
// system config file name (set via the configure script)
#ifdef SYSTEM_XPDFRC
#define xpdfSysConfigFile SYSTEM_XPDFRC
#else
#define xpdfSysConfigFile "xpdfrc"
#endif
//------------------------------------------------------------------------
// X-related constants
//------------------------------------------------------------------------
// default maximum size of color cube to allocate
#define defaultRGBCube 5
// number of fonts (combined t1lib, FreeType, X server) to cache
#define xOutFontCacheSize 64
// number of Type 3 fonts to cache
#define xOutT3FontCacheSize 8
//------------------------------------------------------------------------
// popen
//------------------------------------------------------------------------
#define POPEN_READ_MODE "r"
#endif