fixed font weight in table
This commit is contained in:
parent
7223e997f2
commit
7541cf63fe
|
@ -209,6 +209,7 @@ function printTable(&$pdf, $table, $fontName) {
|
||||||
if (!empty($headline)) {
|
if (!empty($headline)) {
|
||||||
$pdf->SetFont($fontName, 'B', LAMPDF_FONT_SIZE);
|
$pdf->SetFont($fontName, 'B', LAMPDF_FONT_SIZE);
|
||||||
$pdf->Cell(LAMPDF_LABELWIDTH, LAMPDF_LINEHEIGHT, $headline . ':', 0 , 0, 'L', 0);
|
$pdf->Cell(LAMPDF_LABELWIDTH, LAMPDF_LINEHEIGHT, $headline . ':', 0 , 0, 'L', 0);
|
||||||
|
$pdf->SetFont($fontName, '', LAMPDF_FONT_SIZE);
|
||||||
$pdf->Ln(LAMPDF_LINEHEIGHT);
|
$pdf->Ln(LAMPDF_LINEHEIGHT);
|
||||||
}
|
}
|
||||||
foreach ($table->rows as $row) {
|
foreach ($table->rows as $row) {
|
||||||
|
|
Loading…
Reference in New Issue