代码拉取完成,页面将自动刷新
OS: Windows 11
JDK:openjdk version "21.0.4.0.4" 2024-07-16
8:04:31.190 [main] WARN org.dromara.pdf.pdfbox.support.fonts.FileSystemFontProvider -- Could not load font file: C:\WINDOWS\FONTS\mstmc.ttf
java.io.EOFException: EOF at 4096, b1: -1, b2: -1, b3: -1, b4: -1
at org.apache.fontbox.ttf.TTFDataStream.readUnsignedInt(TTFDataStream.java:139)
at org.apache.fontbox.ttf.TTFParser.readTableDirectory(TTFParser.java:390)
at org.apache.fontbox.ttf.TTFParser.createFontWithTables(TTFParser.java:140)
at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:164)
at org.apache.fontbox.ttf.TTFParser.parse(TTFParser.java:66)
at org.dromara.pdf.pdfbox.support.fonts.FileSystemFontProvider.addTrueTypeFont(FileSystemFontProvider.java:557)
at org.dromara.pdf.pdfbox.support.fonts.FileSystemFontProvider.addFont(FileSystemFontProvider.java:302)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.dromara.pdf.pdfbox.support.fonts.FileSystemFontProvider.scanFonts(FileSystemFontProvider.java:350)
at org.dromara.pdf.pdfbox.support.fonts.FileSystemFontProvider.<init>(FileSystemFontProvider.java:286)
at org.dromara.pdf.pdfbox.support.fonts.FontMapperImpl$DefaultFontProvider.<clinit>(FontMapperImpl.java:129)
at org.dromara.pdf.pdfbox.support.fonts.FontMapperImpl.getProvider(FontMapperImpl.java:145)
at org.dromara.pdf.pdfbox.handler.FontHandler.addFont(FontHandler.java:194)
at org.dromara.pdf.pdfbox.handler.FontHandler.<init>(FontHandler.java:59)
at org.dromara.pdf.pdfbox.handler.FontHandler.<clinit>(FontHandler.java:53)
at org.dromara.pdf.pdfbox.handler.PdfHandler.getFontHandler(PdfHandler.java:39)
at org.dromara.pdf.pdfbox.core.base.Context.addFontCache(Context.java:250)
at org.dromara.pdf.pdfbox.core.base.Document.initOtherParams(Document.java:869)
at org.dromara.pdf.pdfbox.core.base.Document.initBase(Document.java:743)
at org.dromara.pdf.pdfbox.core.base.Document.init(Document.java:764)
at org.dromara.pdf.pdfbox.core.base.Document.init(Document.java:750)
at org.dromara.pdf.pdfbox.core.base.Document.<init>(Document.java:103)
at org.dromara.pdf.pdfbox.handler.DocumentHandler.create(DocumentHandler.java:59)
at com.simperfect.commons.test.EasyPDFTest.main(EasyPDFTest.java:16)