- $this->TCPDF($pageOrientation, 'pt', $pageSize);//, $uni, $enc);
+ parent::__construct($pageOrientation, 'pt', $pageSize);//, $uni, $enc);
- global $installed_languages, $dflt_lang, $path_to_root, $local_path_to_root;
+ global $installed_languages, $dflt_lang, $path_to_root, $local_path_to_root, $GetText;
// $local_path_to_root is set inside find_custom_file.
// Select extension domain if po file is provided
// otherwise use global translation.
if (file_exists($local_path_to_root.'/lang/'.$lang['code'].'/LC_MESSAGES/'.$lang['code'].'.po'))
// $local_path_to_root is set inside find_custom_file.
// Select extension domain if po file is provided
// otherwise use global translation.
if (file_exists($local_path_to_root.'/lang/'.$lang['code'].'/LC_MESSAGES/'.$lang['code'].'.po'))
// else use built-in adobe fonts helvetica.
}
$this->SetFont($fontname, $style);
// else use built-in adobe fonts helvetica.
}
$this->SetFont($fontname, $style);
// 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 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 ($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);