30
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-06-04 23:10:46 +00:00

6.0.057 (2014-01-26)

- Bug #883 "Parsing error" was fixed.
This commit is contained in:
nicolaasuni 2014-01-26 14:35:08 +00:00
parent 4bfe37b111
commit ee71246dff
6 changed files with 12 additions and 10 deletions

View File

@ -1,5 +1,8 @@
6.0.057 (2014-01-26)
- Bug #883 "Parsing error" was fixed.
6.0.056 (2014-01-25) 6.0.056 (2014-01-25)
- The automatic chache folder selection now works also with some restricted hosting environments. - The automatic cache folder selection now works also with some restricted hosting environments.
- CSS text-transform property is now supported (requires the multibyte string library for php) - see examle n. 061 (Thanks to Walter Ferraz). - CSS text-transform property is now supported (requires the multibyte string library for php) - see examle n. 061 (Thanks to Walter Ferraz).
- Bug #884 "Parsing error prev tag looking for" was fixed. - Bug #884 "Parsing error prev tag looking for" was fixed.

View File

@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------ ------------------------------------------------------------
Name: TCPDF Name: TCPDF
Version: 6.0.056 Version: 6.0.057
Release date: 2014-01-25 Release date: 2014-01-26
Author: Nicola Asuni Author: Nicola Asuni
Copyright (c) 2002-2014: Copyright (c) 2002-2014:

View File

@ -1,6 +1,6 @@
{ {
"name": "tecnick.com/tcpdf", "name": "tecnick.com/tcpdf",
"version": "6.0.056", "version": "6.0.057",
"homepage": "http://www.tcpdf.org/", "homepage": "http://www.tcpdf.org/",
"type": "library", "type": "library",
"description": "TCPDF is a PHP class for generating PDF documents.", "description": "TCPDF is a PHP class for generating PDF documents.",

View File

@ -55,7 +55,7 @@ class TCPDF_STATIC {
* Current TCPDF version. * Current TCPDF version.
* @private static * @private static
*/ */
private static $tcpdf_version = '6.0.056'; private static $tcpdf_version = '6.0.057';
/** /**
* String alias for total number of pages. * String alias for total number of pages.

View File

@ -1,7 +1,7 @@
<?php <?php
//============================================================+ //============================================================+
// File name : tcpdf.php // File name : tcpdf.php
// Version : 6.0.056 // Version : 6.0.057
// Begin : 2002-08-03 // Begin : 2002-08-03
// Last Update : 2014-01-15 // Last Update : 2014-01-15
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com // Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
@ -104,7 +104,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 6.0.056 * @version 6.0.057
*/ */
// TCPDF configuration // TCPDF configuration
@ -128,7 +128,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> * 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 6.0.056 * @version 6.0.057
* @author Nicola Asuni - info@tecnick.com * @author Nicola Asuni - info@tecnick.com
*/ */
class TCPDF { class TCPDF {

View File

@ -439,7 +439,6 @@ class TCPDF_PARSER {
foreach ($sdata as $k => $row) { foreach ($sdata as $k => $row) {
switch ($row[0]) { switch ($row[0]) {
case 0: { // (f) linked list of free objects case 0: { // (f) linked list of free objects
++$obj_num;
break; break;
} }
case 1: { // (n) objects that are in use but are not compressed case 1: { // (n) objects that are in use but are not compressed
@ -450,7 +449,6 @@ class TCPDF_PARSER {
// store object offset position // store object offset position
$xref['xref'][$index] = $row[1]; $xref['xref'][$index] = $row[1];
} }
++$obj_num;
break; break;
} }
case 2: { // compressed objects case 2: { // compressed objects
@ -464,6 +462,7 @@ class TCPDF_PARSER {
break; break;
} }
} }
++$obj_num;
} }
} // end decoding data } // end decoding data
if (isset($prevxref)) { if (isset($prevxref)) {