- $this->TCPDF($pageOrientation, 'pt', $pageSize);//, $uni, $enc);
+ parent::__construct($pageOrientation, 'pt', $pageSize);//, $uni, $enc);
$lang = array_search_value($code, $installed_languages, 'code');
$GetText->set_language($lang['code'], strtoupper($lang['encoding']));
$lang = array_search_value($code, $installed_languages, 'code');
$GetText->set_language($lang['code'], strtoupper($lang['encoding']));
// If horizontal scaling was requested, check to see if we're trying to scale
// too much. If so, cut back string first and then scale it.
$maxScaleFactor = 1.4;
if ($stretch == 1 || $stretch == 2)
// If horizontal scaling was requested, check to see if we're trying to scale
// too much. If so, cut back string first and then scale it.
$maxScaleFactor = 1.4;
if ($stretch == 1 || $stretch == 2)
if ($this->isunicode && $this->encoding != "UTF-8")
$txt = iconv($this->encoding, "UTF-8", $txt);
$this->Cell($w, $h, $txt, $border, 0, $align, $fill, $link, $stretch);
if ($this->isunicode && $this->encoding != "UTF-8")
$txt = iconv($this->encoding, "UTF-8", $txt);
$this->Cell($w, $h, $txt, $border, 0, $align, $fill, $link, $stretch);