Mpdf 问题:为什么 mpdf 格式、边距、字体大小 mPDF\mPDF class 值不起作用
Mpdf issue: Why not work mpdf format,margin,fontsize mPDF\mPDF class value
我的 mPDF Class
$mpdf = new \Mpdf\Mpdf(['utf-8', 'A4-L', 1000000, 'cursive', 100000000000000, 100, 100, 0, 0, 0, 'L']);
我已经使用了mPDF更新版
try it
$mpdf = new \Mpdf\Mpdf([
'tempDir' => __DIR__ . '/pdfdata',
'mode' => 'utf-8',
// 'format' => [24, 24],
'format' => 'A4',
'margin_left' => 0,
'margin_right' => 2,
'margin_bottom' => 2,
'margin_top' => 2,
'float' => 'left'
]);
我的 mPDF Class
$mpdf = new \Mpdf\Mpdf(['utf-8', 'A4-L', 1000000, 'cursive', 100000000000000, 100, 100, 0, 0, 0, 'L']);
我已经使用了mPDF更新版
try it
$mpdf = new \Mpdf\Mpdf([
'tempDir' => __DIR__ . '/pdfdata',
'mode' => 'utf-8',
// 'format' => [24, 24],
'format' => 'A4',
'margin_left' => 0,
'margin_right' => 2,
'margin_bottom' => 2,
'margin_top' => 2,
'float' => 'left'
]);