/**
* 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;
}