- Code: Select all
10:11:28,140 DEBUG PhysicalFonts:254 - Processing physical font: file:/c:/windows/fonts/estre.ttf
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.fop.fonts.EmbedFontInfo.getPanose()Lorg/foray/font/format/Panose;
at org.docx4j.fonts.PhysicalFont.<init>(PhysicalFont.java:56)
at org.docx4j.fonts.PhysicalFonts.addPhysicalFont(PhysicalFonts.java:263)
at org.docx4j.fonts.PhysicalFonts.discoverPhysicalFonts(PhysicalFonts.java:117)
at org.docx4j.fonts.IdentityPlusMapper.<clinit>(IdentityPlusMapper.java:72)
at org.docx4j.openpackaging.packages.WordprocessingMLPackage.getFontMapper(WordprocessingMLPackage.java:333)
at org.docx4j.convert.out.pdf.viaXSLFO.Conversion.declareFonts(Conversion.java:106)
at org.docx4j.convert.out.pdf.viaXSLFO.Conversion.output(Conversion.java:201)
at test.TestConvertPdf.main(TestConvertPdf.java:37)
org.docx4j.convert.out.pdf.PdfConversion c
= new org.docx4j.convert.out.pdf.viaXSLFO.Conversion(wordMLPackage);
i user the method to change format,occur this problem???