From e2ee99bd0ecca1e9a63ddcc1911ba2a122283b5e Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Wed, 15 Jan 2014 18:21:06 +0000 Subject: [PATCH] 6.0.055 (2014-01-15) - Bug #880 "Error detecting hX tags (h1,h2..)" was fixed - Bug #879 "Thead on the second page inherits style of previous tr" was fixed --- include/tcpdf_static.php | 2 +- tcpdf.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tcpdf_static.php b/include/tcpdf_static.php index 022f997..1f5a3ef 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.052'; + private static $tcpdf_version = '6.0.055'; /** * String alias for total number of pages. diff --git a/tcpdf.php b/tcpdf.php index 8f89bc2..a6b3d50 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -6234,7 +6234,7 @@ class TCPDF { } $this->adjustCellPadding($border); $lines = $this->getNumLines($txt, $w, $reseth, $autopadding, $cellpadding, $border); - $height = $lines * $this->getCellHeight($this->FontSize, $autopadding); + $height = $this->getCellHeight(($lines * $this->FontSize), $autopadding); $this->cell_padding = $prev_cell_padding; $this->lasth = $prev_lasth; return $height;