diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT
index b5fd914..1a06738 100755
--- a/CHANGELOG.TXT
+++ b/CHANGELOG.TXT
@@ -1,3 +1,6 @@
+4.8.021 (2010-01-03)
+ - A Bug relative to Table Of Content index was fixed.
+
4.8.020 (2009-12-21)
- Bug item #2918545 "Display problem of the first row of a table with larger font" was fixed.
- A Bug relative to table rowspan mode was fixed.
diff --git a/README.TXT b/README.TXT
index 54b0f7d..dfb2823 100755
--- a/README.TXT
+++ b/README.TXT
@@ -8,11 +8,11 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
-Version: 4.8.020
-Release date: 2009-12-21
+Version: 4.8.021
+Release date: 2010-01-03
Author: Nicola Asuni
-Copyright (c) 2001-2009:
+Copyright (c) 2001-2010:
Nicola Asuni
Tecnick.com s.r.l.
Via Della Pace, 11
@@ -67,7 +67,7 @@ For Additional Documentation:
http://www.tcpdf.org
License
- Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l.
+ Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html
index d50bc72..214c7e3 100644
--- a/doc/classtrees_com-tecnick-tcpdf.html
+++ b/doc/classtrees_com-tecnick-tcpdf.html
@@ -45,7 +45,7 @@
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html
index 280dad8..457f863 100644
--- a/doc/com-tecnick-tcpdf/TCPDF.html
+++ b/doc/com-tecnick-tcpdf/TCPDF.html
@@ -74,7 +74,7 @@ Source Location: /tcpdf.php
Version:
@@ -630,7 +630,7 @@ This is a PHP class for generating PDF documents without requiring external exte
author: | Nicola Asuni - info@tecnick.com |
- version: | 4.8.020 |
+ version: | 4.8.021 |
link: | http://www.tcpdf.org |
@@ -20807,7 +20807,7 @@ $file)
diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html
index eb460e4..332b71b 100644
--- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html
+++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html
@@ -1368,7 +1368,7 @@ $type)
diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html
index b797672..d5539c2 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
diff --git a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html
index f8f175a..8a55c61 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.
diff --git a/doc/com-tecnick-tcpdf/_htmlcolors.php.html b/doc/com-tecnick-tcpdf/_htmlcolors.php.html
index 168915c..711c03c 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.
diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html
index 1feb42d..9ca4fd2 100644
--- a/doc/com-tecnick-tcpdf/_tcpdf.php.html
+++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html
@@ -73,10 +73,10 @@ This is a PHP class for generating PDF documents without requiring external exte
author: | Nicola Asuni |
- version: | 4.8.020 |
+ version: | 4.8.021 |
- 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 |
+ copyright: | 2002-2010 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 |
@@ -104,7 +104,7 @@ unicode data
diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html
index 82bf3eb..0402961 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.
diff --git a/doc/elementindex.html b/doc/elementindex.html
index 30174ff..780c05e 100644
--- a/doc/elementindex.html
+++ b/doc/elementindex.html
@@ -1448,7 +1448,7 @@
top
diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html
index 22f6a9b..44459e4 100644
--- a/doc/elementindex_com-tecnick-tcpdf.html
+++ b/doc/elementindex_com-tecnick-tcpdf.html
@@ -1471,7 +1471,7 @@
top
diff --git a/doc/errors.html b/doc/errors.html
index 6a44fb5..a9fe985 100644
--- a/doc/errors.html
+++ b/doc/errors.html
@@ -35,7 +35,7 @@
Post-parsing
diff --git a/doc/index.html b/doc/index.html
index 1a262d8..80a0c76 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -58,7 +58,7 @@
This documentation was generated by phpDocumentor v1.4.3
diff --git a/doc/li_com-tecnick-tcpdf.html b/doc/li_com-tecnick-tcpdf.html
index 1a262d8..80a0c76 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.3
diff --git a/tcpdf.php b/tcpdf.php
index 00e50a3..b4f1ad0 100755
--- a/tcpdf.php
+++ b/tcpdf.php
@@ -2,12 +2,12 @@
//============================================================+
// File name : tcpdf.php
// Begin : 2002-08-03
-// Last Update : 2009-12-21
+// Last Update : 2010-01-03
// Author : Nicola Asuni - info@tecnick.com - http://www.tcpdf.org
-// Version : 4.8.020
+// Version : 4.8.021
// License : GNU LGPL (http://www.gnu.org/copyleft/lesser.html)
// ----------------------------------------------------------------------------
-// Copyright (C) 2002-2009 Nicola Asuni - Tecnick.com S.r.l.
+// Copyright (C) 2002-2010 Nicola Asuni - Tecnick.com S.r.l.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
@@ -125,10 +125,10 @@
* @package com.tecnick.tcpdf
* @abstract Class for generating PDF files on-the-fly without requiring external extensions.
* @author Nicola Asuni
- * @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
+ * @copyright 2002-2010 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.8.020
+ * @version 4.8.021
*/
/**
@@ -152,14 +152,14 @@ if (!class_exists('TCPDF', false)) {
/**
* define default PDF document producer
*/
- define('PDF_PRODUCER', 'TCPDF 4.8.020 (http://www.tcpdf.org)');
+ define('PDF_PRODUCER', 'TCPDF 4.8.021 (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.8.020
+ * @version 4.8.021
* @author Nicola Asuni - info@tecnick.com
* @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL
@@ -16168,8 +16168,8 @@ if (!class_exists('TCPDF', false)) {
$this->setPageBuffer($p, $temppage);
}
// move pages
+ $this->Bookmark($toc_name, 0, 0, $page_first);
for ($i = 0; $i < $numpages; ++$i) {
- $this->Bookmark($toc_name, 0, 0, $page_last);
$this->movePage($page_last, $page);
}
}