When i am generating pdf, font style is too small, we can not read in that font size. My code is below.
$pdf = new Pdf([
'mode' => Pdf::MODE_CORE,
'format' => Pdf::FORMAT_A4,
'orientation' => Pdf::ORIENT_PORTRAIT,
'destination' => Pdf::DEST_BROWSER,
// 'cssFile' => '@web/css/kv-mpdf-bootstrap.min.css',
// 'cssInline' => '.table{font-size:28px}',
]);
When i am generating pdf, font style is too small, we can not read in that font size. My code is below. $pdf = new Pdf([ 'mode' => Pdf::MODE_CORE, 'format' => Pdf::FORMAT_A4, 'orientation' => Pdf::ORIENT_PORTRAIT, 'destination' => Pdf::DEST_BROWSER, // 'cssFile' => '@web/css/kv-mpdf-bootstrap.min.css', // 'cssInline' => '.table{font-size:28px}', ]);
$mpdf->WriteHtml($content); return $mpdf->Output('test.pdf', 'D');