From 1d88afff1d24de7619eacd432cd06d92f4b6bf4d Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Mon, 18 Mar 2013 23:36:10 +0000 Subject: [PATCH] 6.0.002 (2013-03-18) - _getFIXED call on tcpdf_fonts.php was fixed. --- CHANGELOG.TXT | 5 ++++- README.TXT | 2 +- include/tcpdf_fonts.php | 4 ++-- include/tcpdf_static.php | 2 +- tcpdf.php | 6 +++--- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 3e77617..ee32350 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,8 +1,11 @@ +6.0.002 (2013-03-18) + - _getFIXED call on tcpdf_fonts.php was fixed. + 6.0.001 (2013-03-18) - Fixed $uni_type call on tcpdf.php. 6.0.000 (2013-03-17) - - IMPORTANT: PHP4 support has been removed starting from this version. PHP 5.3 or greater version is required. + - IMPORTANT: PHP4 support has been removed starting from this version. - Several TCPDF methods and vars were moved to new class files: tcpdf_static.php, tcpdf_colors.php, tcpdf_images.php, tcpdf_font_data.php, tcpdf_fonts.php. - Files htmlcolors.php, spotcolors.php, unicode_data.php and ecodings_maps.php were removed. - Barcode classes were renamed and new barcode examples were added. diff --git a/README.TXT b/README.TXT index bbde577..3d8d5b2 100755 --- a/README.TXT +++ b/README.TXT @@ -8,7 +8,7 @@ http://sourceforge.net/donate/index.php?group_id=128076 ------------------------------------------------------------ Name: TCPDF -Version: 6.0.001 +Version: 6.0.002 Release date: 2013-03-18 Author: Nicola Asuni diff --git a/include/tcpdf_fonts.php b/include/tcpdf_fonts.php index d3bf130..67ece18 100644 --- a/include/tcpdf_fonts.php +++ b/include/tcpdf_fonts.php @@ -3,7 +3,7 @@ // File name : tcpdf_fonts.php // Version : 1.0.000 // Begin : 2008-01-01 -// Last Update : 2013-03-16 +// Last Update : 2013-03-18 // Author : Nicola Asuni - Tecnick.com LTD - Manor Coach House, Church Hill, Aldershot, Hants, GU12 4RQ, UK - www.tecnick.com - info@tecnick.com // License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html) // ------------------------------------------------------------------- @@ -499,7 +499,7 @@ class TCPDF_FONTS { // ---------- get post data ---------- $offset = $table['post']['offset']; $offset += 4; // skip Format Type - $fmetric['italicAngle'] = self::_getFIXED($font, $offset); + $fmetric['italicAngle'] = TCPDF_STATIC::_getFIXED($font, $offset); $offset += 4; $fmetric['underlinePosition'] = round(TCPDF_STATIC::_getFWORD($font, $offset) * $urk); $offset += 2; diff --git a/include/tcpdf_static.php b/include/tcpdf_static.php index 0b4f412..0aed193 100644 --- a/include/tcpdf_static.php +++ b/include/tcpdf_static.php @@ -55,7 +55,7 @@ class TCPDF_STATIC { * Current TCPDF version. * @private static */ - private static $tcpdf_version = '6.0.001'; + private static $tcpdf_version = '6.0.002'; /** * String alias for total number of pages. diff --git a/tcpdf.php b/tcpdf.php index d52efa7..e5a5550 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,7 +1,7 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 6.0.001 + * @version 6.0.002 */ if (!defined('K_TCPDF_EXTERNAL_CONFIG')) { @@ -168,7 +168,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.
* @package com.tecnick.tcpdf * @brief PHP class for generating PDF documents without requiring external extensions. - * @version 6.0.001 + * @version 6.0.002 * @author Nicola Asuni - info@tecnick.com */ class TCPDF {