ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
tcpdf_config.php
Go to the documentation of this file.
1 <?php
2 //============================================================+
3 // File name : tcpdf_config.php
4 // Begin : 2004-06-11
5 // Last Update : 2014-12-11
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 
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 
48 //define ('K_PATH_MAIN', '');
49 
54 //define ('K_PATH_URL', '');
55 
60 //define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
61 
66 //define ('K_PATH_IMAGES', '');
67 
72 //define ('PDF_HEADER_LOGO', '');
73 
77 //define ('PDF_HEADER_LOGO_WIDTH', 0);
78 
82 //define ('K_PATH_CACHE', '/tmp/');
83 
87 define ('K_BLANK_IMAGE', '_blank.png');
88 
92 define ('PDF_PAGE_FORMAT', 'A4');
93 
97 define ('PDF_PAGE_ORIENTATION', 'P');
98 
102 define ('PDF_CREATOR', 'TCPDF');
103 
107 define ('PDF_AUTHOR', 'TCPDF');
108 
112 define ('PDF_HEADER_TITLE', 'TCPDF Example');
113 
117 define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org");
118 
122 define ('PDF_UNIT', 'mm');
123 
127 define ('PDF_MARGIN_HEADER', 5);
128 
132 define ('PDF_MARGIN_FOOTER', 10);
133 
137 define ('PDF_MARGIN_TOP', 27);
138 
142 define ('PDF_MARGIN_BOTTOM', 25);
143 
147 define ('PDF_MARGIN_LEFT', 15);
148 
152 define ('PDF_MARGIN_RIGHT', 15);
153 
157 define ('PDF_FONT_NAME_MAIN', 'helvetica');
158 
162 define ('PDF_FONT_SIZE_MAIN', 10);
163 
167 define ('PDF_FONT_NAME_DATA', 'helvetica');
168 
172 define ('PDF_FONT_SIZE_DATA', 8);
173 
177 define ('PDF_FONT_MONOSPACED', 'courier');
178 
182 define ('PDF_IMAGE_SCALE_RATIO', 1.25);
183 
187 define('HEAD_MAGNIFICATION', 1.1);
188 
192 define('K_CELL_HEIGHT_RATIO', 1.25);
193 
197 define('K_TITLE_MAGNIFICATION', 1.3);
198 
202 define('K_SMALL_RATIO', 2/3);
203 
207 define('K_THAI_TOPCHARS', true);
208 
213 define('K_TCPDF_CALLS_IN_HTML', false);
214 
218 define('K_TCPDF_THROW_EXCEPTION_ERROR', false);
219 
223 define('K_TIMEZONE', 'UTC');
224 
225 //============================================================+
226 // END OF FILE
227 //============================================================+