lyhzzz 2 年之前
父節點
當前提交
935fb0b848
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/main/java/com/fdkankan/sale/util/pdf/TestForExcel2PDF.java

+ 4 - 4
src/main/java/com/fdkankan/sale/util/pdf/TestForExcel2PDF.java

@@ -117,10 +117,10 @@ public class TestForExcel2PDF {
         }
         try {
             Workbook wb = new Workbook(sourceFilePath);// 原始excel路径
-            IndividualFontConfigs configs = new IndividualFontConfigs();
-            configs.setFontFolder("/usr/share/fonts/chinese", true);
-            LoadOptions loadOptions  = new LoadOptions();
-            loadOptions.setFontConfigs(configs);
+//            IndividualFontConfigs configs = new IndividualFontConfigs();
+//            configs.setFontFolder("/usr/share/fonts/chinese", true);
+//            LoadOptions loadOptions  = new LoadOptions();
+//            loadOptions.setFontConfigs(configs);
 
             FileOutputStream fileOS = new FileOutputStream(desFilePathd);
             PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();