mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-26 06:17:33 +00:00
5.9.066
This commit is contained in:
parent
c495cce307
commit
295cf77db2
@ -1,3 +1,7 @@
|
|||||||
|
5.9.066 (2011-04-09)
|
||||||
|
- A bug related to digital signature + encryption was fixed.
|
||||||
|
- A bug related to encryption + xobject templates was fixed.
|
||||||
|
|
||||||
5.9.065 (2011-04-08)
|
5.9.065 (2011-04-08)
|
||||||
- Bug item #3280512 "Text encoding iso-8859-2 crashes" was fixed.
|
- Bug item #3280512 "Text encoding iso-8859-2 crashes" was fixed.
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 5.9.065
|
Version: 5.9.066
|
||||||
Release date: 2011-04-08
|
Release date: 2011-04-09
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
Copyright (c) 2002-2011:
|
Copyright (c) 2002-2011:
|
||||||
|
25
tcpdf.php
25
tcpdf.php
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : tcpdf.php
|
// File name : tcpdf.php
|
||||||
// Version : 5.9.065
|
// Version : 5.9.066
|
||||||
// Begin : 2002-08-03
|
// Begin : 2002-08-03
|
||||||
// Last Update : 2011-04-08
|
// Last Update : 2011-04-09
|
||||||
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com S.r.l - Via Della Pace, 11 - 09044 - Quartucciu (CA) - ITALY - www.tecnick.com - info@tecnick.com
|
||||||
// License : http://www.tecnick.com/pagefiles/tcpdf/LICENSE.TXT GNU-LGPLv3 + YOU CAN'T REMOVE ANY TCPDF COPYRIGHT NOTICE OR LINK FROM THE GENERATED PDF DOCUMENTS.
|
// License : http://www.tecnick.com/pagefiles/tcpdf/LICENSE.TXT GNU-LGPLv3 + YOU CAN'T REMOVE ANY TCPDF COPYRIGHT NOTICE OR LINK FROM THE GENERATED PDF DOCUMENTS.
|
||||||
// -------------------------------------------------------------------
|
// -------------------------------------------------------------------
|
||||||
@ -134,7 +134,7 @@
|
|||||||
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
|
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @version 5.9.065
|
* @version 5.9.066
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file.
|
// Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file.
|
||||||
@ -146,7 +146,7 @@ require_once(dirname(__FILE__).'/config/tcpdf_config.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.<br>
|
* 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.<br>
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @brief PHP class for generating PDF documents without requiring external extensions.
|
* @brief PHP class for generating PDF documents without requiring external extensions.
|
||||||
* @version 5.9.065
|
* @version 5.9.066
|
||||||
* @author Nicola Asuni - info@tecnick.com
|
* @author Nicola Asuni - info@tecnick.com
|
||||||
*/
|
*/
|
||||||
class TCPDF {
|
class TCPDF {
|
||||||
@ -157,7 +157,7 @@ class TCPDF {
|
|||||||
* Current TCPDF version.
|
* Current TCPDF version.
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
private $tcpdf_version = '5.9.065';
|
private $tcpdf_version = '5.9.066';
|
||||||
|
|
||||||
// Protected properties
|
// Protected properties
|
||||||
|
|
||||||
@ -10489,7 +10489,7 @@ class TCPDF {
|
|||||||
$out .= ' >>';
|
$out .= ' >>';
|
||||||
}
|
}
|
||||||
$out .= ' >>';
|
$out .= ' >>';
|
||||||
$stream = $this->_getrawstream($stream);
|
$stream = $this->_getrawstream($stream, $data['n']);
|
||||||
$out .= ' /Length '.strlen($stream);
|
$out .= ' /Length '.strlen($stream);
|
||||||
$out .= ' >>';
|
$out .= ' >>';
|
||||||
$out .= ' stream'."\n".$stream."\n".'endstream';
|
$out .= ' stream'."\n".$stream."\n".'endstream';
|
||||||
@ -15444,7 +15444,8 @@ class TCPDF {
|
|||||||
if ((!$this->sign) OR (!isset($this->signature_data['cert_type']))) {
|
if ((!$this->sign) OR (!isset($this->signature_data['cert_type']))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$out = $this->_getobj($this->sig_obj_id + 1)."\n";
|
$sigobjid = ($this->sig_obj_id + 1);
|
||||||
|
$out = $this->_getobj($sigobjid)."\n";
|
||||||
$out .= '<< /Type /Sig';
|
$out .= '<< /Type /Sig';
|
||||||
$out .= ' /Filter /Adobe.PPKLite';
|
$out .= ' /Filter /Adobe.PPKLite';
|
||||||
$out .= ' /SubFilter /adbe.pkcs7.detached';
|
$out .= ' /SubFilter /adbe.pkcs7.detached';
|
||||||
@ -15491,18 +15492,18 @@ class TCPDF {
|
|||||||
$out .= ' >>';
|
$out .= ' >>';
|
||||||
$out .= ' ]'; // end of reference
|
$out .= ' ]'; // end of reference
|
||||||
if (isset($this->signature_data['info']['Name']) AND !$this->empty_string($this->signature_data['info']['Name'])) {
|
if (isset($this->signature_data['info']['Name']) AND !$this->empty_string($this->signature_data['info']['Name'])) {
|
||||||
$out .= ' /Name '.$this->_textstring($this->signature_data['info']['Name']);
|
$out .= ' /Name '.$this->_textstring($this->signature_data['info']['Name'], $sigobjid);
|
||||||
}
|
}
|
||||||
if (isset($this->signature_data['info']['Location']) AND !$this->empty_string($this->signature_data['info']['Location'])) {
|
if (isset($this->signature_data['info']['Location']) AND !$this->empty_string($this->signature_data['info']['Location'])) {
|
||||||
$out .= ' /Location '.$this->_textstring($this->signature_data['info']['Location']);
|
$out .= ' /Location '.$this->_textstring($this->signature_data['info']['Location'], $sigobjid);
|
||||||
}
|
}
|
||||||
if (isset($this->signature_data['info']['Reason']) AND !$this->empty_string($this->signature_data['info']['Reason'])) {
|
if (isset($this->signature_data['info']['Reason']) AND !$this->empty_string($this->signature_data['info']['Reason'])) {
|
||||||
$out .= ' /Reason '.$this->_textstring($this->signature_data['info']['Reason']);
|
$out .= ' /Reason '.$this->_textstring($this->signature_data['info']['Reason'], $sigobjid);
|
||||||
}
|
}
|
||||||
if (isset($this->signature_data['info']['ContactInfo']) AND !$this->empty_string($this->signature_data['info']['ContactInfo'])) {
|
if (isset($this->signature_data['info']['ContactInfo']) AND !$this->empty_string($this->signature_data['info']['ContactInfo'])) {
|
||||||
$out .= ' /ContactInfo '.$this->_textstring($this->signature_data['info']['ContactInfo']);
|
$out .= ' /ContactInfo '.$this->_textstring($this->signature_data['info']['ContactInfo'], $sigobjid);
|
||||||
}
|
}
|
||||||
$out .= ' /M '.$this->_datestring();
|
$out .= ' /M '.$this->_datestring($sigobjid);
|
||||||
$out .= ' >>';
|
$out .= ' >>';
|
||||||
$out .= "\n".'endobj';
|
$out .= "\n".'endobj';
|
||||||
$this->_out($out);
|
$this->_out($out);
|
||||||
|
Loading…
Reference in New Issue
Block a user