mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-26 14:26:28 +00:00
5.9.094
This commit is contained in:
parent
52280496ff
commit
b3bc6c07e1
@ -1,3 +1,6 @@
|
|||||||
|
5.9.094 (2011-06-17)
|
||||||
|
- Bug item #3317898 "Page Group numbering broken in 5.9.093" was fixed.
|
||||||
|
|
||||||
5.9.093 (2011-06-16)
|
5.9.093 (2011-06-16)
|
||||||
- Method setStartingPageNumber() was added to set starting page number (for automatic page numbering).
|
- Method setStartingPageNumber() was added to set starting page number (for automatic page numbering).
|
||||||
|
|
||||||
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
|||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 5.9.093
|
Version: 5.9.094
|
||||||
Release date: 2011-06-16
|
Release date: 2011-06-17
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
Copyright (c) 2002-2011:
|
Copyright (c) 2002-2011:
|
||||||
|
14
tcpdf.php
14
tcpdf.php
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : tcpdf.php
|
// File name : tcpdf.php
|
||||||
// Version : 5.9.093
|
// Version : 5.9.094
|
||||||
// Begin : 2002-08-03
|
// Begin : 2002-08-03
|
||||||
// Last Update : 2011-06-16
|
// Last Update : 2011-06-17
|
||||||
// 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.093
|
* @version 5.9.094
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// 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.093
|
* @version 5.9.094
|
||||||
* @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.093';
|
private $tcpdf_version = '5.9.094';
|
||||||
|
|
||||||
// Protected properties
|
// Protected properties
|
||||||
|
|
||||||
@ -8532,6 +8532,8 @@ class TCPDF {
|
|||||||
$ptpu = $this->UTF8ToUTF16BE($ptpa, false);
|
$ptpu = $this->UTF8ToUTF16BE($ptpa, false);
|
||||||
$pagegroupnum = 0;
|
$pagegroupnum = 0;
|
||||||
$groupnum = 0;
|
$groupnum = 0;
|
||||||
|
$ptgu = 1;
|
||||||
|
$ptga = 1;
|
||||||
for ($n = 1; $n <= $num_pages; ++$n) {
|
for ($n = 1; $n <= $num_pages; ++$n) {
|
||||||
// get current page
|
// get current page
|
||||||
$temppage = $this->getPageBuffer($n);
|
$temppage = $this->getPageBuffer($n);
|
||||||
@ -8539,8 +8541,6 @@ class TCPDF {
|
|||||||
// set replacements for total pages number
|
// set replacements for total pages number
|
||||||
$pnpa = $this->formatPageNumber(($this->starting_page_number + $n - 1));
|
$pnpa = $this->formatPageNumber(($this->starting_page_number + $n - 1));
|
||||||
$pnpu = $this->UTF8ToUTF16BE($pnpa, false);
|
$pnpu = $this->UTF8ToUTF16BE($pnpa, false);
|
||||||
$ptgu = 1;
|
|
||||||
$ptga = 1;
|
|
||||||
if (!empty($this->pagegroups)) {
|
if (!empty($this->pagegroups)) {
|
||||||
if (isset($this->newpagegroup[$n])) {
|
if (isset($this->newpagegroup[$n])) {
|
||||||
$pagegroupnum = 0;
|
$pagegroupnum = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user