aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/libraries/tcpdf/config
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/libraries/tcpdf/config')
-rw-r--r--inc/3rdparty/libraries/tcpdf/config/tcpdf_config.php227
1 files changed, 227 insertions, 0 deletions
diff --git a/inc/3rdparty/libraries/tcpdf/config/tcpdf_config.php b/inc/3rdparty/libraries/tcpdf/config/tcpdf_config.php
new file mode 100644
index 00000000..864a9d2d
--- /dev/null
+++ b/inc/3rdparty/libraries/tcpdf/config/tcpdf_config.php
@@ -0,0 +1,227 @@
1<?php
2//============================================================+
3// File name : tcpdf_config.php
4// Begin : 2004-06-11
5// Last Update : 2014-09-02
6//
7// Description : Configuration file for TCPDF.
8// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
9// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
10// -------------------------------------------------------------------
11// Copyright (C) 2004-2014 Nicola Asuni - Tecnick.com LTD
12//
13// This file is part of TCPDF software library.
14//
15// TCPDF is free software: you can redistribute it and/or modify it
16// under the terms of the GNU Lesser General Public License as
17// published by the Free Software Foundation, either version 3 of the
18// License, or (at your option) any later version.
19//
20// TCPDF is distributed in the hope that it will be useful, but
21// WITHOUT ANY WARRANTY; without even the implied warranty of
22// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23// See the GNU Lesser General Public License for more details.
24//
25// You should have received a copy of the GNU Lesser General Public License
26// along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
27//
28// See LICENSE.TXT file for more information.
29//============================================================+
30
31/**
32 * Configuration file for TCPDF.
33 * @author Nicola Asuni
34 * @package com.tecnick.tcpdf
35 * @version 4.9.005
36 * @since 2004-10-27
37 */
38
39// IMPORTANT:
40// If you define the constant K_TCPDF_EXTERNAL_CONFIG, all the following settings will be ignored.
41// If you use the tcpdf_autoconfig.php, then you can overwrite some values here.
42
43
44/**
45 * Installation path (/var/www/tcpdf/).
46 * By default it is automatically calculated but you can also set it as a fixed string to improve performances.
47 */
48//define ('K_PATH_MAIN', '');
49
50/**
51 * URL path to tcpdf installation folder (http://localhost/tcpdf/).
52 * By default it is automatically set but you can also set it as a fixed string to improve performances.
53 */
54//define ('K_PATH_URL', '');
55
56/**
57 * Path for PDF fonts.
58 * By default it is automatically set but you can also set it as a fixed string to improve performances.
59 */
60//define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
61
62/**
63 * Default images directory.
64 * By default it is automatically set but you can also set it as a fixed string to improve performances.
65 */
66//define ('K_PATH_IMAGES', '');
67
68/**
69 * Deafult image logo used be the default Header() method.
70 * Please set here your own logo or an empty string to disable it.
71 */
72//define ('PDF_HEADER_LOGO', '');
73
74/**
75 * Header logo image width in user units.
76 */
77//define ('PDF_HEADER_LOGO_WIDTH', 0);
78
79/**
80 * Cache directory for temporary files (full path).
81 */
82//define ('K_PATH_CACHE', '/tmp/');
83
84/**
85 * Generic name for a blank image.
86 */
87define ('K_BLANK_IMAGE', '_blank.png');
88
89/**
90 * Page format.
91 */
92define ('PDF_PAGE_FORMAT', 'A4');
93
94/**
95 * Page orientation (P=portrait, L=landscape).
96 */
97define ('PDF_PAGE_ORIENTATION', 'P');
98
99/**
100 * Document creator.
101 */
102define ('PDF_CREATOR', 'TCPDF');
103
104/**
105 * Document author.
106 */
107define ('PDF_AUTHOR', 'TCPDF');
108
109/**
110 * Header title.
111 */
112define ('PDF_HEADER_TITLE', 'TCPDF Example');
113
114/**
115 * Header description string.
116 */
117define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org");
118
119/**
120 * Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch].
121 */
122define ('PDF_UNIT', 'mm');
123
124/**
125 * Header margin.
126 */
127define ('PDF_MARGIN_HEADER', 5);
128
129/**
130 * Footer margin.
131 */
132define ('PDF_MARGIN_FOOTER', 10);
133
134/**
135 * Top margin.
136 */
137define ('PDF_MARGIN_TOP', 27);
138
139/**
140 * Bottom margin.
141 */
142define ('PDF_MARGIN_BOTTOM', 25);
143
144/**
145 * Left margin.
146 */
147define ('PDF_MARGIN_LEFT', 15);
148
149/**
150 * Right margin.
151 */
152define ('PDF_MARGIN_RIGHT', 15);
153
154/**
155 * Default main font name.
156 */
157define ('PDF_FONT_NAME_MAIN', 'helvetica');
158
159/**
160 * Default main font size.
161 */
162define ('PDF_FONT_SIZE_MAIN', 10);
163
164/**
165 * Default data font name.
166 */
167define ('PDF_FONT_NAME_DATA', 'helvetica');
168
169/**
170 * Default data font size.
171 */
172define ('PDF_FONT_SIZE_DATA', 8);
173
174/**
175 * Default monospaced font name.
176 */
177define ('PDF_FONT_MONOSPACED', 'courier');
178
179/**
180 * Ratio used to adjust the conversion of pixels to user units.
181 */
182define ('PDF_IMAGE_SCALE_RATIO', 1.25);
183
184/**
185 * Magnification factor for titles.
186 */
187define('HEAD_MAGNIFICATION', 1.1);
188
189/**
190 * Height of cell respect font height.
191 */
192define('K_CELL_HEIGHT_RATIO', 1.25);
193
194/**
195 * Title magnification respect main font size.
196 */
197define('K_TITLE_MAGNIFICATION', 1.3);
198
199/**
200 * Reduction factor for small font.
201 */
202define('K_SMALL_RATIO', 2/3);
203
204/**
205 * Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language.
206 */
207define('K_THAI_TOPCHARS', true);
208
209/**
210 * If true allows to call TCPDF methods using HTML syntax
211 * IMPORTANT: For security reason, disable this feature if you are printing user HTML content.
212 */
213define('K_TCPDF_CALLS_IN_HTML', true);
214
215/**
216 * If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution.
217 */
218define('K_TCPDF_THROW_EXCEPTION_ERROR', false);
219
220/**
221 * Default timezone for datetime functions
222 */
223define('K_TIMEZONE', 'UTC');
224
225//============================================================+
226// END OF FILE
227//============================================================+