Workbook workbook = new Workbook();
workbook.loadFromFile("data/FontTest.xlsx");
//嵌入私有字体
String[] customFont = new String[]{"font/simhei.ttf"};
workbook.setCustomFontFilePaths(customFont);
workbook.saveToFile("output/result3.pdf", FileFormat.PDF);