fixed font weight in table

This commit is contained in:
Roland Gruber 2017-12-22 10:42:09 +01:00
parent 7223e997f2
commit 7541cf63fe
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ function printTable(&$pdf, $table, $fontName) {
if (!empty($headline)) {
$pdf->SetFont($fontName, 'B', LAMPDF_FONT_SIZE);
$pdf->Cell(LAMPDF_LABELWIDTH, LAMPDF_LINEHEIGHT, $headline . ':', 0 , 0, 'L', 0);
$pdf->SetFont($fontName, '', LAMPDF_FONT_SIZE);
$pdf->Ln(LAMPDF_LINEHEIGHT);
}
foreach ($table->rows as $row) {