32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-12-27 02:12:48 +00:00
This commit is contained in:
Nick 2011-08-09 20:10:07 +02:00
parent 9433f1cfee
commit 85d7684869
3 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,6 @@
5.9.108 (2011-08-09)
- A bug on PHP4 version was fixed.
5.9.107 (2011-08-08)
- THis version includes a minor bugfix.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------
Name: TCPDF
Version: 5.9.107
Release date: 2011-08-08
Version: 5.9.108
Release date: 2011-08-09
Author: Nicola Asuni
Copyright (c) 2002-2011:

View File

@ -1,9 +1,9 @@
<?php
//============================================================+
// File name : tcpdf.php
// Version : 5.9.107
// Version : 5.9.108
// Begin : 2002-08-03
// Last Update : 2011-08-08
// Last Update : 2011-08-09
// 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.
// -------------------------------------------------------------------
@ -136,7 +136,7 @@
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
* @package com.tecnick.tcpdf
* @author Nicola Asuni
* @version 5.9.107
* @version 5.9.108
*/
// Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file.
@ -148,7 +148,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>
* @package com.tecnick.tcpdf
* @brief PHP class for generating PDF documents without requiring external extensions.
* @version 5.9.107
* @version 5.9.108
* @author Nicola Asuni - info@tecnick.com
*/
class TCPDF {
@ -159,7 +159,7 @@ class TCPDF {
* Current TCPDF version.
* @private
*/
private $tcpdf_version = '5.9.107';
private $tcpdf_version = '5.9.108';
// Protected properties
@ -8614,9 +8614,8 @@ class TCPDF {
protected function replacePageNumAliases($page, $replace, $diff=0) {
foreach ($replace as $rep) {
foreach ($rep[3] as $a) {
$count = 0;
$page = str_replace($a, $rep[0], $page, $count);
if ($count > 0) {
if (strpos($page, $a) !== false) {
$page = str_replace($a, $rep[0], $page);
$diff += ($rep[2] - $rep[1]);
}
}