32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-12-23 08:58:55 +00:00

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
This commit is contained in:
nicolaasuni 2014-01-15 18:21:06 +00:00
parent 31866c4b5b
commit e2ee99bd0e
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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;