ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
tcpdf_config_alt.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 : 2013-05-16
6//
7// Description : Example of alternative 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-2013 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
42define ('K_TCPDF_EXTERNAL_CONFIG', true);
43
48//define ('K_PATH_MAIN', '');
49
54//define ('K_PATH_URL', '');
55
60//define ('K_PATH_FONTS', K_PATH_MAIN.'fonts/');
61
66define ('K_PATH_IMAGES', dirname(__FILE__).'/../images/');
67
72define ('PDF_HEADER_LOGO', 'tcpdf_logo.jpg');
73
77define ('PDF_HEADER_LOGO_WIDTH', 30);
78
82define ('K_PATH_CACHE', sys_get_temp_dir().'/');
83
87define ('K_BLANK_IMAGE', '_blank.png');
88
92define ('PDF_PAGE_FORMAT', 'A4');
93
97define ('PDF_PAGE_ORIENTATION', 'P');
98
102define ('PDF_CREATOR', 'TCPDF');
103
107define ('PDF_AUTHOR', 'TCPDF');
108
112define ('PDF_HEADER_TITLE', 'TCPDF Example');
113
117define ('PDF_HEADER_STRING', "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org");
118
122define ('PDF_UNIT', 'mm');
123
127define ('PDF_MARGIN_HEADER', 5);
128
132define ('PDF_MARGIN_FOOTER', 10);
133
137define ('PDF_MARGIN_TOP', 27);
138
142define ('PDF_MARGIN_BOTTOM', 25);
143
147define ('PDF_MARGIN_LEFT', 15);
148
152define ('PDF_MARGIN_RIGHT', 15);
153
157define ('PDF_FONT_NAME_MAIN', 'helvetica');
158
162define ('PDF_FONT_SIZE_MAIN', 10);
163
167define ('PDF_FONT_NAME_DATA', 'helvetica');
168
172define ('PDF_FONT_SIZE_DATA', 8);
173
177define ('PDF_FONT_MONOSPACED', 'courier');
178
182define ('PDF_IMAGE_SCALE_RATIO', 1.25);
183
187define('HEAD_MAGNIFICATION', 1.1);
188
192define('K_CELL_HEIGHT_RATIO', 1.25);
193
197define('K_TITLE_MAGNIFICATION', 1.3);
198
202define('K_SMALL_RATIO', 2/3);
203
207define('K_THAI_TOPCHARS', true);
208
213define('K_TCPDF_CALLS_IN_HTML', true);
214
218define('K_TCPDF_THROW_EXCEPTION_ERROR', false);
219
220//============================================================+
221// END OF FILE
222//============================================================+