function Ln($h = null)
{
// Line feed; default value is last cell height
$this->x = $this->lMargin;
if ($h === null) {
$this->y += $this->lasth;
} else {
$this->y += $h;
}
}
/** * Constructs a single line * * @param \tFPDF $pdf * @param $text * @param int|null $margin * @param $fontSize * @param bool $useBoldFont * @internal param string $fontWeight * @return $this */ private function makeLine(&$pdf, $text, $fontSize, $margin = null, $useBoldFont = false) { $fontFamily = $useBoldFont ? 'arialbd' : 'arial'; $pdf->SetFont($fontFamily, '', $fontSize); $pdf->Ln($margin); $pdf->Cell(0, 0, $text, 0, 1, 'C'); return $this; }