diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 49b86ad..03a43b0 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +4.5.042 (2009-04-15) + - Method Write() was fixed for the strings containing only zero value. + 4.5.041 (2009-04-14) - Barcode methods were fixed. diff --git a/README.TXT b/README.TXT index d13cf64..8559910 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 4.5.041 -Release date: 2009-04-14 +Version: 4.5.042 +Release date: 2009-04-15 Author: Nicola Asuni Copyright (c) 2001-2009: diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html index d04ea27..f1e7578 100644 --- a/doc/classtrees_com-tecnick-tcpdf.html +++ b/doc/classtrees_com-tecnick-tcpdf.html @@ -45,7 +45,7 @@

- Documentation generated on Tue, 14 Apr 2009 17:48:15 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html index a733057..89e05da 100644 --- a/doc/com-tecnick-tcpdf/TCPDF.html +++ b/doc/com-tecnick-tcpdf/TCPDF.html @@ -74,7 +74,7 @@ Source Location: /tcpdf.php

Version:

@@ -580,7 +580,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - info@tecnick.com - version:  4.5.041 + version:  4.5.042 link:  http://www.tcpdf.org @@ -18859,7 +18859,7 @@ $file)

- Documentation generated on Tue, 14 Apr 2009 17:48:16 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html index 86681c9..d74322e 100644 --- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html +++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html @@ -1122,7 +1122,7 @@ $type)

- Documentation generated on Tue, 14 Apr 2009 17:48:15 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html index 3722ebf..aebb33d 100644 --- a/doc/com-tecnick-tcpdf/_barcodes.php.html +++ b/doc/com-tecnick-tcpdf/_barcodes.php.html @@ -96,7 +96,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit

- Documentation generated on Tue, 14 Apr 2009 17:48:15 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html index 56740b2..694d50c 100644 --- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html +++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html @@ -507,7 +507,7 @@ Configuration file for TCPDF.




- Documentation generated on Tue, 14 Apr 2009 17:48:21 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:40:03 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/_htmlcolors.php.html b/doc/com-tecnick-tcpdf/_htmlcolors.php.html index 26e4c9c..8b8d193 100644 --- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html +++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html @@ -88,7 +88,7 @@ Array of WEB safe colors.




- Documentation generated on Tue, 14 Apr 2009 17:48:15 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html index ab8975d..4ceb7a9 100644 --- a/doc/com-tecnick-tcpdf/_tcpdf.php.html +++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html @@ -73,7 +73,7 @@ This is a PHP class for generating PDF documents without requiring external exte author:  Nicola Asuni - version:  4.5.041 + version:  4.5.042 copyright:  2002-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com @@ -104,7 +104,7 @@ unicode data

- PDF_PRODUCER = 'TCPDF 4.5.041 (http://www.tcpdf.org)' + PDF_PRODUCER = 'TCPDF 4.5.042 (http://www.tcpdf.org)'
@@ -115,7 +115,7 @@ unicode data


- Documentation generated on Tue, 14 Apr 2009 17:48:16 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html index 440fd05..5ea507c 100644 --- a/doc/com-tecnick-tcpdf/_unicode_data.php.html +++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html @@ -237,7 +237,7 @@ Unicode Include file for TCPDF.




- Documentation generated on Tue, 14 Apr 2009 17:48:21 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:40:03 +0200 by phpDocumentor 1.4.1
diff --git a/doc/elementindex.html b/doc/elementindex.html index 8b7dced..fb1e6dc 100644 --- a/doc/elementindex.html +++ b/doc/elementindex.html @@ -1336,7 +1336,7 @@ top

- Documentation generated on Tue, 14 Apr 2009 17:48:15 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html index 72dc3b6..8940af3 100644 --- a/doc/elementindex_com-tecnick-tcpdf.html +++ b/doc/elementindex_com-tecnick-tcpdf.html @@ -1359,7 +1359,7 @@ top

- Documentation generated on Tue, 14 Apr 2009 17:48:15 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/errors.html b/doc/errors.html index 178b2d0..dfff2c5 100644 --- a/doc/errors.html +++ b/doc/errors.html @@ -35,7 +35,7 @@ Post-parsing

- Documentation generated on Tue, 14 Apr 2009 17:48:21 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:40:03 +0200 by phpDocumentor 1.4.1
diff --git a/doc/index.html b/doc/index.html index 0926273..c10f118 100644 --- a/doc/index.html +++ b/doc/index.html @@ -58,7 +58,7 @@ This documentation was generated by phpDocumentor v1.4.1

- Documentation generated on Tue, 14 Apr 2009 17:48:15 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html index 0926273..c10f118 100644 --- a/doc/li_com-tecnick-tcpdf.html +++ b/doc/li_com-tecnick-tcpdf.html @@ -58,7 +58,7 @@ This documentation was generated by phpDocumentor v1.4.1

- Documentation generated on Tue, 14 Apr 2009 17:48:15 +0200 by phpDocumentor 1.4.1 + Documentation generated on Wed, 15 Apr 2009 10:39:57 +0200 by phpDocumentor 1.4.1
diff --git a/tcpdf.php b/tcpdf.php index 7d02fe3..bff662c 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -2,9 +2,9 @@ //============================================================+ // File name : tcpdf.php // Begin : 2002-08-03 -// Last Update : 2009-04-14 +// Last Update : 2009-04-15 // Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org -// Version : 4.5.041 +// Version : 4.5.042 // License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html) // ---------------------------------------------------------------------------- // Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l. @@ -122,7 +122,7 @@ * @copyright 2002-2009 Nicola Asuni - Tecnick.com S.r.l (www.tecnick.com) Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL - * @version 4.5.041 + * @version 4.5.042 */ /** @@ -146,14 +146,14 @@ if (!class_exists('TCPDF', false)) { /** * define default PDF document producer */ - define('PDF_PRODUCER', 'TCPDF 4.5.041 (http://www.tcpdf.org)'); + define('PDF_PRODUCER', 'TCPDF 4.5.042 (http://www.tcpdf.org)'); /** * This is a PHP class for generating PDF documents without requiring external extensions.
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.
* @name TCPDF * @package com.tecnick.tcpdf - * @version 4.5.041 + * @version 4.5.042 * @author Nicola Asuni - info@tecnick.com * @link http://www.tcpdf.org * @license http://www.gnu.org/copyleft/lesser.html LGPL @@ -3865,7 +3865,7 @@ if (!class_exists('TCPDF', false)) { * @since 1.5 */ public function Write($h, $txt, $link='', $fill=0, $align='', $ln=false, $stretch=0, $firstline=false, $firstblock=false, $maxh=0) { - if (empty($txt)) { + if (strlen($txt) == 0) { $txt = ' '; } // remove carriage returns