08 tooloffice tool 2020-11-20 itext使用 字体放入resource目录下 12InputStream inputStream = ItextPDFExportUtil.class.getResourceAsStream("/simfang.ttf"); font = PdfFontFactory.createFont(IOUtils.toByteArray(inputStream), PdfEncodings.IDENTITY_H, false);