mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-12-26 01:57:29 +00:00
6.0.022 (2013-08-02)
- fixing initialization problem for signature_appearance property.
This commit is contained in:
parent
94bfcb9bb4
commit
f7ec606860
@ -1,3 +1,6 @@
|
||||
6.0.022 (2013-08-02)
|
||||
- fixing initialization problem for signature_appearance property.
|
||||
|
||||
6.0.021 (2013-07-18)
|
||||
- The bug caused by the preg_split function on some PHP 5.2.x versions was fixed.
|
||||
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 6.0.021
|
||||
Release date: 2013-07-18
|
||||
Version: 6.0.022
|
||||
Release date: 2013-08-02
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2002-2013:
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tecnick.com/tcpdf",
|
||||
"version": "6.0.021",
|
||||
"version": "6.0.022",
|
||||
"homepage": "http://www.tcpdf.org/",
|
||||
"type": "library",
|
||||
"description": "TCPDF is a PHP class for generating PDF documents.",
|
||||
|
@ -55,7 +55,7 @@ class TCPDF_STATIC {
|
||||
* Current TCPDF version.
|
||||
* @private static
|
||||
*/
|
||||
private static $tcpdf_version = '6.0.021';
|
||||
private static $tcpdf_version = '6.0.022';
|
||||
|
||||
/**
|
||||
* String alias for total number of pages.
|
||||
@ -2733,7 +2733,7 @@ class TCPDF_STATIC {
|
||||
* @param $flags (int) The flags as specified on the preg_split PHP function.
|
||||
* @return Returns an array containing substrings of subject split along boundaries matched by pattern.modifier
|
||||
* @author Nicola Asuni
|
||||
* @since 6.0.021
|
||||
* @since 6.0.022
|
||||
* @public static
|
||||
*/
|
||||
public static function pregSplit($pattern, $modifiers, $subject, $limit=NULL, $flags=NULL) {
|
||||
|
13
tcpdf.php
13
tcpdf.php
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
//============================================================+
|
||||
// File name : tcpdf.php
|
||||
// Version : 6.0.021
|
||||
// Version : 6.0.022
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2013-07-18
|
||||
// Last Update : 2013-08-02
|
||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
|
||||
// -------------------------------------------------------------------
|
||||
@ -139,7 +139,7 @@
|
||||
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
|
||||
* @package com.tecnick.tcpdf
|
||||
* @author Nicola Asuni
|
||||
* @version 6.0.021
|
||||
* @version 6.0.022
|
||||
*/
|
||||
|
||||
// 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.<br>
|
||||
* @package com.tecnick.tcpdf
|
||||
* @brief PHP class for generating PDF documents without requiring external extensions.
|
||||
* @version 6.0.021
|
||||
* @version 6.0.022
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
*/
|
||||
class TCPDF {
|
||||
@ -1973,7 +1973,7 @@ class TCPDF {
|
||||
$this->ur['signature'] = '/Modify';
|
||||
$this->ur['ef'] = '/Create/Delete/Modify/Import';
|
||||
$this->ur['formex'] = '';
|
||||
$this->signature_appearance = array('page' => 1, 'rect' => '0 0 0 0');
|
||||
$this->signature_appearance = array('page' => 1, 'rect' => '0 0 0 0', 'name' => 'Signature');
|
||||
$this->empty_signature_appearance = array();
|
||||
// set default JPEG quality
|
||||
$this->jpeg_quality = 75;
|
||||
@ -2925,9 +2925,8 @@ class TCPDF {
|
||||
public function Error($msg) {
|
||||
// unset all class variables
|
||||
$this->_destroy(true);
|
||||
$phpmainver = PHP_VERSION;
|
||||
// exit program and print error
|
||||
if ((intval($phpmainver[0]) < 5) OR !defined('K_TCPDF_THROW_EXCEPTION_ERROR') OR !K_TCPDF_THROW_EXCEPTION_ERROR) {
|
||||
if (!K_TCPDF_THROW_EXCEPTION_ERROR) {
|
||||
die('<strong>TCPDF ERROR: </strong>'.$msg);
|
||||
} else {
|
||||
throw new Exception('TCPDF ERROR: '.$msg);
|
||||
|
Loading…
Reference in New Issue
Block a user