diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 1a03d48..f49b0cb 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +6.0.024 (2013-09-02) + - Bug #826 "addEmptySignatureAppearance issue" was fixed. + 6.0.023 (2013-08-05) - GNU Freefont fonts were updated. - Licensing and copyright information about fonts were improved. diff --git a/README.TXT b/README.TXT index c9e0965..5016cdb 100644 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 6.0.023 -Release date: 2013-08-05 +Version: 6.0.024 +Release date: 2013-09-02 Author: Nicola Asuni Copyright (c) 2002-2013: diff --git a/composer.json b/composer.json index 1e01a29..34208c6 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "tecnick.com/tcpdf", - "version": "6.0.023", + "version": "6.0.024", "homepage": "http://www.tcpdf.org/", "type": "library", "description": "TCPDF is a PHP class for generating PDF documents.", diff --git a/include/tcpdf_static.php b/include/tcpdf_static.php index 9ea91ba..b7a0ffc 100644 --- a/include/tcpdf_static.php +++ b/include/tcpdf_static.php @@ -55,7 +55,7 @@ class TCPDF_STATIC { * Current TCPDF version. * @private static */ - private static $tcpdf_version = '6.0.023'; + private static $tcpdf_version = '6.0.024'; /** * String alias for total number of pages. diff --git a/tcpdf.php b/tcpdf.php index e39274e..3673934 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 6.0.023 + * @version 6.0.024 */ // TCPDF configuration @@ -163,7 +163,7 @@ require_once(dirname(__FILE__).'/include/tcpdf_static.php'); * 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.
* @package com.tecnick.tcpdf * @brief PHP class for generating PDF documents without requiring external extensions. - * @version 6.0.023 + * @version 6.0.024 * @author Nicola Asuni - info@tecnick.com */ class TCPDF { @@ -6254,7 +6254,7 @@ class TCPDF { * @param $stretch (int) font stretch mode: General font stretching and scaling values will be preserved when possible. * @param $firstline (boolean) if true prints only the first line and return the remaining string. * @param $firstblock (boolean) if true the string is the starting of a line. - * @param $maxh (float) maximum height. The remaining unprinted text will be returned. It should be >= $h and less then remaining space to the bottom of the page, or 0 for disable this feature. + * @param $maxh (float) maximum height. It should be >= $h and less then remaining space to the bottom of the page, or 0 for disable this feature. * @param $wadj (float) first line width will be reduced by this amount (used in HTML mode). * @param $margin (array) margin array of the parent container * @return mixed Return the number of cells or the remaining string if $firstline = true. @@ -9722,7 +9722,9 @@ class TCPDF { $out .= ' >>'; } // AcroForm - if (!empty($this->form_obj_id) OR ($this->sign AND isset($this->signature_data['cert_type']))) { + if (!empty($this->form_obj_id) + OR ($this->sign AND isset($this->signature_data['cert_type'])) + OR !empty($this->empty_signature_appearance)) { $out .= ' /AcroForm <<'; $objrefs = ''; if ($this->sign AND isset($this->signature_data['cert_type'])) {