From 41b3fa670397d40e68f225ce69fbaa7e31e1b494 Mon Sep 17 00:00:00 2001 From: Nicola Asuni Date: Thu, 2 Aug 2012 15:41:27 +0100 Subject: [PATCH] 5.9.177 (2012-08-02) - An additional control on annotations was fixed. --- CHANGELOG.TXT | 3 +++ README.TXT | 4 ++-- tcpdf.php | 12 ++++++------ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 40ccb49..d25ea5e 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -1,3 +1,6 @@ +5.9.177 (2012-08-02) + - An additional control on annotations was fixed. + 5.9.176 (2012-07-25) - A bug related to stroke width was fixed. - A problem related to font spacing in HTML was fixed. diff --git a/README.TXT b/README.TXT index 0a60a75..f797c0e 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.176 -Release date: 2012-07-25 +Version: 5.9.177 +Release date: 2012-08-02 Author: Nicola Asuni Copyright (c) 2002-2012: diff --git a/tcpdf.php b/tcpdf.php index 8f8080f..4eb0942 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -1,9 +1,9 @@ * @package com.tecnick.tcpdf * @author Nicola Asuni - * @version 5.9.176 + * @version 5.9.177 */ // Main configuration file. Define the K_TCPDF_EXTERNAL_CONFIG constant to skip this file. @@ -150,7 +150,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.176 + * @version 5.9.177 * @author Nicola Asuni - info@tecnick.com */ class TCPDF { @@ -161,7 +161,7 @@ class TCPDF { * Current TCPDF version. * @private */ - private $tcpdf_version = '5.9.176'; + private $tcpdf_version = '5.9.177'; // Protected properties @@ -9640,7 +9640,7 @@ class TCPDF { if (isset($pl['opt']['be']) AND (is_array($pl['opt']['be']))) { $annots .= ' /BE <<'; $bstyles = array('S', 'C'); - if (isset($pl['opt']['be']['s']) AND in_array($pl['opt']['be']['s'], $markups)) { + if (isset($pl['opt']['be']['s']) AND in_array($pl['opt']['be']['s'], $bstyles)) { $annots .= ' /S /'.$pl['opt']['bs']['s']; } else { $annots .= ' /S /S';