mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-22 12:55:10 +00:00
5.9.024
This commit is contained in:
parent
2a7c04be0d
commit
3e8aa1b525
@ -1,3 +1,6 @@
|
||||
5.9.024 (2010-11-30)
|
||||
- Bug item #3123612 "SVG not use gradientTransform in percentage mode" was fixed.
|
||||
|
||||
5.9.023 (2010-11-25)
|
||||
- A potential bug on SVG transcoder was fixed.
|
||||
|
||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||
------------------------------------------------------------
|
||||
|
||||
Name: TCPDF
|
||||
Version: 5.9.023
|
||||
Release date: 2010-11-25
|
||||
Version: 5.9.024
|
||||
Release date: 2010-11-30
|
||||
Author: Nicola Asuni
|
||||
|
||||
Copyright (c) 2002-2010:
|
||||
|
@ -65,7 +65,7 @@
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -1004,7 +1004,7 @@ $code)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:17 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -5552,7 +5552,7 @@ $frame)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:17 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -300,7 +300,7 @@ $type)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -1378,7 +1378,7 @@ $type)</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -18704,7 +18704,7 @@ This is a PHP class containing Unicde data for TCPDF library<br /><br /><br /><b
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -106,7 +106,7 @@ PHP class to creates array representations for 2D barcodes to be used with TCPDF
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -106,7 +106,7 @@ PHP class to creates array representations for common 1D barcodes to be used wit
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -543,7 +543,7 @@ Configuration file for TCPDF.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -98,7 +98,7 @@ Array of WEB safe colors<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:17 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -158,7 +158,7 @@ Class to create PDF417 barcode arrays for TCPDF class.<br /><br /><p>PDF417 (ISO
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:17 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -481,7 +481,7 @@ string $string, [int $split_length = 1])</code>
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:17 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -83,7 +83,7 @@ This is a PHP class for generating PDF documents without requiring external exte
|
||||
<td><b>author:</b> </td><td>Nicola Asuni</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>version:</b> </td><td>5.9.023</td>
|
||||
<td><b>version:</b> </td><td>5.9.024</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>copyright:</b> </td><td>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</td>
|
||||
@ -110,7 +110,7 @@ main configuration file<br /><br /><p>(define the K_TCPDF_EXTERNAL_CONFIG consta
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:18 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:24 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -103,7 +103,7 @@ Unicode data class for TCPDF library.<br /><br /><br /><br />
|
||||
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -2140,7 +2140,7 @@
|
||||
<a href="elementindex.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -2173,7 +2173,7 @@
|
||||
<a href="elementindex_com-tecnick-tcpdf.html#top">top</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -35,7 +35,7 @@
|
||||
<a href="#Post-parsing">Post-parsing</a><br>
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:23 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -68,7 +68,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
@ -68,7 +68,7 @@
|
||||
This documentation was generated by <a href="http://www.phpdoc.org">phpDocumentor v1.4.3</a><br />
|
||||
<div class="credit">
|
||||
<hr />
|
||||
Documentation generated on Thu, 25 Nov 2010 09:23:16 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
Documentation generated on Tue, 30 Nov 2010 17:34:22 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
||||
</div>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
|
29
tcpdf.php
29
tcpdf.php
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
//============================================================+
|
||||
// File name : tcpdf.php
|
||||
// Version : 5.9.023
|
||||
// Version : 5.9.024
|
||||
// Begin : 2002-08-03
|
||||
// Last Update : 2010-11-25
|
||||
// Last Update : 2010-11-30
|
||||
// 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.
|
||||
// -------------------------------------------------------------------
|
||||
@ -137,7 +137,7 @@
|
||||
* @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.tecnick.com/pagefiles/tcpdf/LICENSE.TXT GNU-LGPLv3 + YOU CAN'T REMOVE ANY TCPDF COPYRIGHT NOTICE OR LINK FROM THE GENERATED PDF DOCUMENTS.
|
||||
* @version 5.9.023
|
||||
* @version 5.9.024
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -151,7 +151,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>
|
||||
* @name TCPDF
|
||||
* @package com.tecnick.tcpdf
|
||||
* @version 5.9.023
|
||||
* @version 5.9.024
|
||||
* @author Nicola Asuni - info@tecnick.com
|
||||
* @link http://www.tcpdf.org
|
||||
* @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.
|
||||
@ -164,7 +164,7 @@ class TCPDF {
|
||||
* @var current TCPDF version
|
||||
* @access private
|
||||
*/
|
||||
private $tcpdf_version = '5.9.023';
|
||||
private $tcpdf_version = '5.9.024';
|
||||
|
||||
// Protected properties
|
||||
|
||||
@ -3422,7 +3422,6 @@ class TCPDF {
|
||||
* @see Cell(), MultiCell(), AcceptPageBreak()
|
||||
*/
|
||||
public function SetAutoPageBreak($auto, $margin=0) {
|
||||
//Set auto page break mode and triggering margin
|
||||
$this->AutoPageBreak = $auto;
|
||||
$this->bMargin = $margin;
|
||||
$this->PageBreakTrigger = $this->h - $margin;
|
||||
@ -3437,7 +3436,6 @@ class TCPDF {
|
||||
* @since 1.2
|
||||
*/
|
||||
public function SetDisplayMode($zoom, $layout='SinglePage', $mode='UseNone') {
|
||||
//Set display mode in viewer
|
||||
if (($zoom == 'fullpage') OR ($zoom == 'fullwidth') OR ($zoom == 'real') OR ($zoom == 'default') OR (!is_string($zoom))) {
|
||||
$this->ZoomMode = $zoom;
|
||||
} else {
|
||||
@ -3515,7 +3513,6 @@ class TCPDF {
|
||||
* @since 1.4
|
||||
*/
|
||||
public function SetCompression($compress) {
|
||||
//Set page compression
|
||||
if (function_exists('gzcompress')) {
|
||||
$this->compress = $compress ? true : false;
|
||||
} else {
|
||||
@ -3531,7 +3528,6 @@ class TCPDF {
|
||||
* @see SetAuthor(), SetCreator(), SetKeywords(), SetSubject()
|
||||
*/
|
||||
public function SetTitle($title) {
|
||||
//Title of document
|
||||
$this->title = $title;
|
||||
}
|
||||
|
||||
@ -3543,7 +3539,6 @@ class TCPDF {
|
||||
* @see SetAuthor(), SetCreator(), SetKeywords(), SetTitle()
|
||||
*/
|
||||
public function SetSubject($subject) {
|
||||
//Subject of document
|
||||
$this->subject = $subject;
|
||||
}
|
||||
|
||||
@ -3555,7 +3550,6 @@ class TCPDF {
|
||||
* @see SetCreator(), SetKeywords(), SetSubject(), SetTitle()
|
||||
*/
|
||||
public function SetAuthor($author) {
|
||||
//Author of document
|
||||
$this->author = $author;
|
||||
}
|
||||
|
||||
@ -3567,7 +3561,6 @@ class TCPDF {
|
||||
* @see SetAuthor(), SetCreator(), SetSubject(), SetTitle()
|
||||
*/
|
||||
public function SetKeywords($keywords) {
|
||||
//Keywords of document
|
||||
$this->keywords = $keywords;
|
||||
}
|
||||
|
||||
@ -3579,7 +3572,6 @@ class TCPDF {
|
||||
* @see SetAuthor(), SetKeywords(), SetSubject(), SetTitle()
|
||||
*/
|
||||
public function SetCreator($creator) {
|
||||
//Creator of document
|
||||
$this->creator = $creator;
|
||||
}
|
||||
|
||||
@ -3606,7 +3598,6 @@ class TCPDF {
|
||||
* @see AddPage(), Close()
|
||||
*/
|
||||
public function Open() {
|
||||
//Begin document
|
||||
$this->state = 1;
|
||||
}
|
||||
|
||||
@ -25594,11 +25585,11 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
|
||||
$this->svggradients[$this->svggradientid]['gradientUnits'] = 'objectBoundingBox';
|
||||
}
|
||||
//$attribs['spreadMethod']
|
||||
$x1 = (isset($attribs['x1'])?$attribs['x1']:0);
|
||||
$y1 = (isset($attribs['y1'])?$attribs['y1']:0);
|
||||
$x2 = (isset($attribs['x2'])?$attribs['x2']:1);
|
||||
$y2 = (isset($attribs['y2'])?$attribs['y2']:0);
|
||||
if (isset($attribs['x1']) AND (substr($attribs['x1'], -1) != '%')) {
|
||||
$x1 = (isset($attribs['x1'])?$attribs['x1']:'0%');
|
||||
$y1 = (isset($attribs['y1'])?$attribs['y1']:'0%');
|
||||
$x2 = (isset($attribs['x2'])?$attribs['x2']:'100%');
|
||||
$y2 = (isset($attribs['y2'])?$attribs['y2']:'0%');
|
||||
if (substr($x1, -1) != '%') {
|
||||
$this->svggradients[$this->svggradientid]['mode'] = 'measure';
|
||||
} else {
|
||||
$this->svggradients[$this->svggradientid]['mode'] = 'percentage';
|
||||
|
Loading…
Reference in New Issue
Block a user