From 803d6aad1ba12fb5bd67f4490ea5284e860553fc Mon Sep 17 00:00:00 2001 From: Nicola Asuni Date: Mon, 10 Dec 2012 17:47:37 +0000 Subject: [PATCH] 5.9.201 (2012-12-10) - First 256 chars are now always included on font subset to overcome a problem reported on the forum. --- CHANGELOG.TXT | 3 +++ README.TXT | 4 ++-- composer.json | 2 +- tcpdf.php | 14 +++++++------- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index bd2632e..c475e9e 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +5.9.201 (2012-12-10) + - First 256 chars are now always included on font subset to overcome a problem reported on the forum. + 5.9.200 (2012-12-05) - Bug item #768 "Rowspan with Pagebreak error" was fixed. - Page regions now works also with limited MultiCell() cells. diff --git a/README.TXT b/README.TXT index 497bd74..7d24a83 100755 --- a/README.TXT +++ b/README.TXT @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 5.9.200 -Release date: 2012-12-05 +Version: 5.9.201 +Release date: 2012-12-10 Author: Nicola Asuni Copyright (c) 2002-2012: diff --git a/composer.json b/composer.json index 85fc1bf..376ff65 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "tecnick.com/tcpdf", - "version": "5.9.200", + "version": "5.9.201", "homepage": "http://www.tcpdf.org/", "type": "library", "description": "TCPDF is a PHP class for generating PDF documents.", diff --git a/tcpdf.php b/tcpdf.php index a2fe575..e6ef1ab 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 5.9.200 + * @version 5.9.201 */ // Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file. @@ -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.
* @package com.tecnick.tcpdf * @brief PHP class for generating PDF documents without requiring external extensions. - * @version 5.9.200 + * @version 5.9.201 * @author Nicola Asuni - info@tecnick.com */ class TCPDF { @@ -162,7 +162,7 @@ class TCPDF { * Current TCPDF version. * @private */ - private $tcpdf_version = '5.9.200'; + private $tcpdf_version = '5.9.201'; // Protected properties @@ -5324,7 +5324,7 @@ class TCPDF { $cbbox = array(); } // initialize subsetchars - $subsetchars = array(); + $subsetchars = array_fill(0, 255, true); $this->setFontBuffer($fontkey, array('fontkey' => $fontkey, 'i' => $this->numfonts, 'type' => $type, 'name' => $name, 'desc' => $desc, 'up' => $up, 'ut' => $ut, 'cw' => $cw, 'cbbox' => $cbbox, 'dw' => $dw, 'enc' => $enc, 'cidinfo' => $cidinfo, 'file' => $file, 'ctg' => $ctg, 'subset' => $subset, 'subsetchars' => $subsetchars)); if ($this->inxobj) { // we are inside an XObject template @@ -12793,7 +12793,7 @@ class TCPDF { $xmp .= "\t\t\t".''."\n"; $xmp .= "\t\t\t".''."\n"; $xmp .= "\t\t\t\t".''."\n"; - $xmp .= "\t\t\t\t\t".''.$this->_escapeXML($this->keywords).''."\n"; + $xmp .= "\t\t\t\t\t".''.$this->_escapeXML($this->keywords).' TCPDF'."\n"; $xmp .= "\t\t\t\t".''."\n"; $xmp .= "\t\t\t".''."\n"; $xmp .= "\t\t".''."\n";