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();