Преглед изворни кода

feat: EK-3320: [Order List]新增发票功能.

kevin пре 1 месец
родитељ
комит
3676667eb2
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      common/libs/export/BaseExport.php

+ 2 - 2
common/libs/export/BaseExport.php

@@ -818,7 +818,7 @@ ORDER;
             // 设置行高
             $pdf->setCellHeightRatio(1);
             // 设置左、上、右的间距
-            $pdf->SetMargins('20', '25', '20');
+            $pdf->SetMargins('30', '35', '30');
             // 设置是否自动分页  距离底部多少距离时分页
             $pdf->SetAutoPageBreak(TRUE, '15');
             // 设置图像比例因子
@@ -830,7 +830,7 @@ ORDER;
             $pdf->setFontSubsetting(true);
             $pdf->AddPage();
             // 设置字体
-            $pdf->SetFont('stsongstdlight', '', 10, '', true);
+            $pdf->SetFont('dejavusans', '', 10, '', true);
             //        $image_file = \Yii::$app->basePath . '/../frontendEle/src/static/img/ngds-logo.jpg';
 //        if (!file_exists($image_file)) {
 //            $image_file = \Yii::$app->runtimePath . '/../common/uploads/ngds-logo.jpg';