|
|
@@ -1920,7 +1920,7 @@ ORDER;
|
|
|
// 设置行高
|
|
|
// $pdf->setCellHeightRatio(1);
|
|
|
// 设置左、上、右的间距
|
|
|
-// $pdf->SetMargins('10', '0', '10');
|
|
|
+ $pdf->SetMargins('10', '0', '10');
|
|
|
// 设置是否自动分页 距离底部多少距离时分页
|
|
|
$pdf->SetAutoPageBreak(TRUE, '15');
|
|
|
// 设置图像比例因子
|
|
|
@@ -1932,7 +1932,7 @@ ORDER;
|
|
|
$pdf->setFontSubsetting(true);
|
|
|
$pdf->AddPage();
|
|
|
// 设置字体
|
|
|
-// $pdf->SetFont('stsongstdlight', '', 10, '', true);
|
|
|
+ $pdf->SetFont('stsongstdlight', '', 10, '', true);
|
|
|
// $image_file = \Yii::$app->basePath . '/../ngds-logo.jpg';
|
|
|
// $image = file_get_contents($image_file);
|
|
|
// $pdf->Image('@' . $image, 15, 12, 20, 7, 'JPG');
|