Commit 49c7d687 authored by hj's avatar hj

更新提交

parent 5f736ede
...@@ -19,8 +19,8 @@ trait BasePdfTemplate ...@@ -19,8 +19,8 @@ trait BasePdfTemplate
$options->setFontDir(app()->basePath('vendor/dompdf/dompdf/lib/fonts')); $options->setFontDir(app()->basePath('vendor/dompdf/dompdf/lib/fonts'));
$options->setDefaultFont('微软雅黑'); $options->setDefaultFont('微软雅黑');
$options->setIsRemoteEnabled(true); $options->setIsRemoteEnabled(true);
//$options->setDefaultPaperSize('a4', 'landscape'); $options->setDefaultPaperSize('A4' );
//$options->setDpi(350); $options->setDpi(168);
$this->pdf = new Dompdf($options); $this->pdf = new Dompdf($options);
} }
return $this->pdf; return $this->pdf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment