. // // See LICENSE.TXT file for more information. //============================================================+ /** * Configuration file for TCPDF. * @author Nicola Asuni * @package com.tecnick.tcpdf * @version 4.9.005 * @since 2004-10-27 */ // IMPORTANT: // If you define the constant K_TCPDF_EXTERNAL_CONFIG, all the following settings will be ignored. // If you use the tcpdf_autoconfig.php, then you can overwrite some values here. /** * Installation path (/var/www/tcpdf/). * By default it is automatically calculated but you can also set it as a fixed string to improve performances. */ //const K_PATH_MAIN = ''; /** * URL path to tcpdf installation folder (http://localhost/tcpdf/). * By default it is automatically set but you can also set it as a fixed string to improve performances. */ //const K_PATH_URL = ''; /** * Path for PDF fonts. * By default it is automatically set but you can also set it as a fixed string to improve performances. */ //const K_PATH_FONTS = K_PATH_MAIN.'fonts/'; /** * Default images directory. * By default it is automatically set but you can also set it as a fixed string to improve performances. */ //const K_PATH_IMAGES = ''; /** * Deafult image logo used be the default Header() method. * Please set here your own logo or an empty string to disable it. */ const PDF_HEADER_LOGO = ''; /** * Header logo image width in user units. */ const PDF_HEADER_LOGO_WIDTH = 0; /** * Cache directory for temporary files (full path). */ //const K_PATH_CACHE = '/tmp/'; /** * Generic name for a blank image. */ const K_BLANK_IMAGE = '_blank.png'; /** * Page format. */ const PDF_PAGE_FORMAT = 'A4'; /** * Page orientation (P=portrait, L=landscape). */ const PDF_PAGE_ORIENTATION = 'P'; /** * Document creator. */ const PDF_CREATOR = 'TCPDF'; /** * Document author. */ const PDF_AUTHOR = 'TCPDF'; /** * Header title. */ const PDF_HEADER_TITLE = 'TCPDF Example'; /** * Header description string. */ const PDF_HEADER_STRING = "by Nicola Asuni - Tecnick.com\nwww.tcpdf.org"; /** * Document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch]. */ const PDF_UNIT = 'mm'; /** * Header margin. */ const PDF_MARGIN_HEADER = 5; /** * Footer margin. */ const PDF_MARGIN_FOOTER = 10; /** * Top margin. */ const PDF_MARGIN_TOP = 27; /** * Bottom margin. */ const PDF_MARGIN_BOTTOM = 25; /** * Left margin. */ const PDF_MARGIN_LEFT = 15; /** * Right margin. */ const PDF_MARGIN_RIGHT = 15; /** * Default main font name. */ const PDF_FONT_NAME_MAIN = 'helvetica'; /** * Default main font size. */ const PDF_FONT_SIZE_MAIN = 10; /** * Default data font name. */ const PDF_FONT_NAME_DATA = 'helvetica'; /** * Default data font size. */ const PDF_FONT_SIZE_DATA = 8; /** * Default monospaced font name. */ const PDF_FONT_MONOSPACED = 'courier'; /** * Ratio used to adjust the conversion of pixels to user units. */ const PDF_IMAGE_SCALE_RATIO = 1.25; /** * Magnification factor for titles. */ const HEAD_MAGNIFICATION = 1.1; /** * Height of cell respect font height. */ const K_CELL_HEIGHT_RATIO = 1.25; /** * Title magnification respect main font size. */ const K_TITLE_MAGNIFICATION = 1.3; /** * Reduction factor for small font. */ const K_SMALL_RATIO = 2 / 3; /** * Set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language. */ const K_THAI_TOPCHARS = true; /** * If true allows to call TCPDF methods using HTML syntax * IMPORTANT: For security reason, disable this feature if you are printing user HTML content. */ const K_TCPDF_CALLS_IN_HTML = false; /** * If true and PHP version is greater than 5, then the Error() method throw new exception instead of terminating the execution. */ const K_TCPDF_THROW_EXCEPTION_ERROR = false; /** * Default timezone for datetime functions */ const K_TIMEZONE = 'UTC'; //============================================================+ // END OF FILE //============================================================+