Просмотр исходного кода

feat: EK-3320: 订单增加 Invoice 下载

zhangl 1 месяц назад
Родитель
Сommit
a75812a21c
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      common/libs/export/BaseExport.php

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

@@ -1932,8 +1932,7 @@ ORDER;
             $pdf->setFontSubsetting(true);
             $pdf->AddPage();
             // 设置字体
-//            $pdf->SetFont('stsongstdlight', '', 10, '', true);
-            $pdf->SetFont('宋体', '', 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');