32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-11-22 12:55:10 +00:00
This commit is contained in:
nick 2011-10-26 20:50:21 +01:00
parent 7a48cc3bba
commit 5fb7bbdc83
3 changed files with 15 additions and 12 deletions

View File

@ -1,3 +1,6 @@
5.9.133 (2011-10-26)
- Bug item #3428446 "copyPage method not working when diskcache enabled" was fixed.
5.9.132 (2011-10-20) 5.9.132 (2011-10-20)
- Bug item #3426167 "bug in function convertHTMLColorToDec()" was fixed. - Bug item #3426167 "bug in function convertHTMLColorToDec()" was fixed.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 5.9.132 Version: 5.9.133
Release date: 2011-10-20 Release date: 2011-10-26
Author: Nicola Asuni Author: Nicola Asuni
Copyright (c) 2002-2011: Copyright (c) 2002-2011:

View File

@ -1,9 +1,9 @@
<?php <?php
//============================================================+ //============================================================+
// File name : tcpdf.php // File name : tcpdf.php
// Version : 5.9.132 // Version : 5.9.133
// Begin : 2002-08-03 // Begin : 2002-08-03
// Last Update : 2011-10-20 // Last Update : 2011-10-26
// 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.
// ------------------------------------------------------------------- // -------------------------------------------------------------------
@ -137,7 +137,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.132 * @version 5.9.133
*/ */
// 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.
@ -149,7 +149,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.132 * @version 5.9.133
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
*/ */
class TCPDF { class TCPDF {
@ -160,7 +160,7 @@ class TCPDF {
* Current TCPDF version. * Current TCPDF version.
* @private * @private
*/ */
private $tcpdf_version = '5.9.132'; private $tcpdf_version = '5.9.133';
// Protected properties // Protected properties
@ -25244,7 +25244,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
$this->endPage(); $this->endPage();
} }
// move all page-related states // move all page-related states
$tmppage = $this->pages[$frompage]; $tmppage = $this->getPageBuffer($frompage);
$tmppagedim = $this->pagedim[$frompage]; $tmppagedim = $this->pagedim[$frompage];
$tmppagelen = $this->pagelen[$frompage]; $tmppagelen = $this->pagelen[$frompage];
$tmpintmrk = $this->intmrk[$frompage]; $tmpintmrk = $this->intmrk[$frompage];
@ -25279,7 +25279,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
for ($i = $frompage; $i > $topage; --$i) { for ($i = $frompage; $i > $topage; --$i) {
$j = $i - 1; $j = $i - 1;
// shift pages down // shift pages down
$this->pages[$i] = $this->pages[$j]; $this->setPageBuffer($i, $this->getPageBuffer($j));
$this->pagedim[$i] = $this->pagedim[$j]; $this->pagedim[$i] = $this->pagedim[$j];
$this->pagelen[$i] = $this->pagelen[$j]; $this->pagelen[$i] = $this->pagelen[$j];
$this->intmrk[$i] = $this->intmrk[$j]; $this->intmrk[$i] = $this->intmrk[$j];
@ -25313,7 +25313,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
$this->currpagegroup = $i; $this->currpagegroup = $i;
} }
} }
$this->pages[$topage] = $tmppage; $this->setPageBuffer($topage, $tmppage);
$this->pagedim[$topage] = $tmppagedim; $this->pagedim[$topage] = $tmppagedim;
$this->pagelen[$topage] = $tmppagelen; $this->pagelen[$topage] = $tmppagelen;
$this->intmrk[$topage] = $tmpintmrk; $this->intmrk[$topage] = $tmpintmrk;
@ -25434,7 +25434,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
for ($i = $page; $i < $this->numpages; ++$i) { for ($i = $page; $i < $this->numpages; ++$i) {
$j = $i + 1; $j = $i + 1;
// shift pages // shift pages
$this->pages[$i] = $this->pages[$j]; $this->setPageBuffer($i, $this->getPageBuffer($j));
$this->pagedim[$i] = $this->pagedim[$j]; $this->pagedim[$i] = $this->pagedim[$j];
$this->pagelen[$i] = $this->pagelen[$j]; $this->pagelen[$i] = $this->pagelen[$j];
$this->intmrk[$i] = $this->intmrk[$j]; $this->intmrk[$i] = $this->intmrk[$j];
@ -25575,7 +25575,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
// copy all page-related states // copy all page-related states
++$this->numpages; ++$this->numpages;
$this->page = $this->numpages; $this->page = $this->numpages;
$this->pages[$this->page] = $this->pages[$page]; $this->setPageBuffer($this->page, $this->getPageBuffer($page));
$this->pagedim[$this->page] = $this->pagedim[$page]; $this->pagedim[$this->page] = $this->pagedim[$page];
$this->pagelen[$this->page] = $this->pagelen[$page]; $this->pagelen[$this->page] = $this->pagelen[$page];
$this->intmrk[$this->page] = $this->intmrk[$page]; $this->intmrk[$this->page] = $this->intmrk[$page];