diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT
index 49ac54b..9cf5621 100755
--- a/CHANGELOG.TXT
+++ b/CHANGELOG.TXT
@@ -1,3 +1,6 @@
+5.4.001 (2010-06-18)
+ - A problem related with setProtection() method was fixed.
+
5.4.000 (2010-06-18)
- The method setSignatureAppearance() was added, check the example n. 52.
- Several problems related to font subsetting were fixed.
diff --git a/README.TXT b/README.TXT
index c7469b1..7e3d0c1 100755
--- a/README.TXT
+++ b/README.TXT
@@ -8,7 +8,7 @@ http: sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
-Version: 5.4.000
+Version: 5.4.001
Release date: 2010-06-18
Author: Nicola Asuni
diff --git a/doc/classtrees_com-tecnick-tcpdf.html b/doc/classtrees_com-tecnick-tcpdf.html
index da6647d..9cc8680 100644
--- a/doc/classtrees_com-tecnick-tcpdf.html
+++ b/doc/classtrees_com-tecnick-tcpdf.html
@@ -60,7 +60,7 @@
diff --git a/doc/com-tecnick-tcpdf/PDF417.html b/doc/com-tecnick-tcpdf/PDF417.html
index deddd6b..7662d93 100644
--- a/doc/com-tecnick-tcpdf/PDF417.html
+++ b/doc/com-tecnick-tcpdf/PDF417.html
@@ -1003,7 +1003,7 @@ $code)
diff --git a/doc/com-tecnick-tcpdf/QRcode.html b/doc/com-tecnick-tcpdf/QRcode.html
index 9d03b55..67cfa74 100644
--- a/doc/com-tecnick-tcpdf/QRcode.html
+++ b/doc/com-tecnick-tcpdf/QRcode.html
@@ -5551,7 +5551,7 @@ $frame)
diff --git a/doc/com-tecnick-tcpdf/TCPDF.html b/doc/com-tecnick-tcpdf/TCPDF.html
index 5396d47..d737136 100644
--- a/doc/com-tecnick-tcpdf/TCPDF.html
+++ b/doc/com-tecnick-tcpdf/TCPDF.html
@@ -83,7 +83,7 @@ Source Location: /tcpdf.php
Version:
@@ -731,7 +731,7 @@ This is a PHP class for generating PDF documents without requiring external exte
author: | Nicola Asuni - info@tecnick.com |
- version: | 5.4.000 |
+ version: | 5.4.001 |
link: | http://www.tcpdf.org |
@@ -25907,7 +25907,7 @@ $file)
diff --git a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html
index 3971c35..34cfa2d 100644
--- a/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html
+++ b/doc/com-tecnick-tcpdf/TCPDF2DBarcode.html
@@ -299,7 +299,7 @@ $type)
diff --git a/doc/com-tecnick-tcpdf/TCPDFBarcode.html b/doc/com-tecnick-tcpdf/TCPDFBarcode.html
index 950c142..48ad8ea 100644
--- a/doc/com-tecnick-tcpdf/TCPDFBarcode.html
+++ b/doc/com-tecnick-tcpdf/TCPDFBarcode.html
@@ -1377,7 +1377,7 @@ $type)
diff --git a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html
index fda2242..beceac9 100644
--- a/doc/com-tecnick-tcpdf/_2dbarcodes.php.html
+++ b/doc/com-tecnick-tcpdf/_2dbarcodes.php.html
@@ -105,7 +105,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
diff --git a/doc/com-tecnick-tcpdf/_barcodes.php.html b/doc/com-tecnick-tcpdf/_barcodes.php.html
index 35e845e..75b38b7 100644
--- a/doc/com-tecnick-tcpdf/_barcodes.php.html
+++ b/doc/com-tecnick-tcpdf/_barcodes.php.html
@@ -105,7 +105,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 720d216..cb1b39f 100644
--- a/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html
+++ b/doc/com-tecnick-tcpdf/_config---tcpdf_config.php.html
@@ -542,7 +542,7 @@ Configuration file for TCPDF.
diff --git a/doc/com-tecnick-tcpdf/_htmlcolors.php.html b/doc/com-tecnick-tcpdf/_htmlcolors.php.html
index 561ca0b..e844e1f 100644
--- a/doc/com-tecnick-tcpdf/_htmlcolors.php.html
+++ b/doc/com-tecnick-tcpdf/_htmlcolors.php.html
@@ -97,7 +97,7 @@ Array of WEB safe colors.
diff --git a/doc/com-tecnick-tcpdf/_pdf417.php.html b/doc/com-tecnick-tcpdf/_pdf417.php.html
index 7f2d939..f68fe14 100644
--- a/doc/com-tecnick-tcpdf/_pdf417.php.html
+++ b/doc/com-tecnick-tcpdf/_pdf417.php.html
@@ -157,7 +157,7 @@ Class to create PDF417 barcode arrays for TCPDF class.
PDF417 (ISO
diff --git a/doc/com-tecnick-tcpdf/_qrcode.php.html b/doc/com-tecnick-tcpdf/_qrcode.php.html
index 91b3cee..ebc4698 100644
--- a/doc/com-tecnick-tcpdf/_qrcode.php.html
+++ b/doc/com-tecnick-tcpdf/_qrcode.php.html
@@ -480,7 +480,7 @@ string $string, [int $split_length = 1])
diff --git a/doc/com-tecnick-tcpdf/_tcpdf.php.html b/doc/com-tecnick-tcpdf/_tcpdf.php.html
index 7665a50..7896b25 100644
--- a/doc/com-tecnick-tcpdf/_tcpdf.php.html
+++ b/doc/com-tecnick-tcpdf/_tcpdf.php.html
@@ -82,7 +82,7 @@ This is a PHP class for generating PDF documents without requiring external exte
author: | Nicola Asuni |
- version: | 5.4.000 |
+ version: | 5.4.001 |
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 |
@@ -113,7 +113,7 @@ unicode data
diff --git a/doc/com-tecnick-tcpdf/_unicode_data.php.html b/doc/com-tecnick-tcpdf/_unicode_data.php.html
index 30a89c9..99e2a1b 100644
--- a/doc/com-tecnick-tcpdf/_unicode_data.php.html
+++ b/doc/com-tecnick-tcpdf/_unicode_data.php.html
@@ -246,7 +246,7 @@ Unicode data for TCPDF library.
diff --git a/doc/elementindex.html b/doc/elementindex.html
index dca3e2b..cb9a322 100644
--- a/doc/elementindex.html
+++ b/doc/elementindex.html
@@ -2024,7 +2024,7 @@
top
diff --git a/doc/elementindex_com-tecnick-tcpdf.html b/doc/elementindex_com-tecnick-tcpdf.html
index b26aed4..b9fcac8 100644
--- a/doc/elementindex_com-tecnick-tcpdf.html
+++ b/doc/elementindex_com-tecnick-tcpdf.html
@@ -2056,7 +2056,7 @@
top
diff --git a/doc/errors.html b/doc/errors.html
index c2df19e..478131e 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 8e73a52..55ee10e 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -67,7 +67,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 8e73a52..55ee10e 100644
--- a/doc/li_com-tecnick-tcpdf.html
+++ b/doc/li_com-tecnick-tcpdf.html
@@ -67,7 +67,7 @@
This documentation was generated by phpDocumentor v1.4.3
diff --git a/tcpdf.php b/tcpdf.php
index 477d385..2134b35 100755
--- a/tcpdf.php
+++ b/tcpdf.php
@@ -1,7 +1,7 @@
* 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 5.4.000
+ * @version 5.4.001
* @author Nicola Asuni - info@tecnick.com
* @link http://www.tcpdf.org
* @license http://www.gnu.org/copyleft/lesser.html LGPL
@@ -10608,7 +10608,7 @@ if (!class_exists('TCPDF', false)) {
'assemble' => 1024,// bit 11
'print-high' => 2048 // bit 12
);
- $protection = 4294967293; // 32 bits (all to 1 except bit 2)
+ $protection = 3900; // (111100111100)
foreach ($permissions as $permission) {
if (!isset($options[$permission])) {
$this->Error('Incorrect permission: '.$permission);