We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Invalid Font name error

Hello,

Sometimes I have this error while converting pdf :
2020-01-20 09:25:01 Sending CAD Agent reply $ERROR$ Error reported java.lang.Exception: ASPOSE worker failed during publishing: wt.util.WTException - class com.aspose.pdf.internal.ms.System.lh: Invalid font name

    com.aspose.pdf.FontCollection.get_Item(Unknown Source)

    com.aspose.pdf.internal.l5l.ly.lf(Unknown Source)

    com.aspose.pdf.internal.l5l.ly.ly(Unknown Source)

    com.aspose.pdf.internal.l5l.l0t.lI(Unknown Source)

    com.aspose.pdf.internal.l5l.l0t.lI(Unknown Source)

    com.aspose.pdf.internal.l5l.l0t.le(Unknown Source)

    com.aspose.pdf.internal.l5l.l0t.<init>(Unknown Source)

    com.aspose.pdf.internal.l5l.l0t.<init>(Unknown Source)

    com.aspose.pdf.TextFragmentAbsorber.visit(Unknown Source)

    com.aspose.pdf.XForm.lf(Unknown Source)

    com.aspose.pdf.XForm.lI(Unknown Source)

    com.aspose.pdf.XForm.getRectangle(Unknown Source)

    com.aspose.pdf.internal.l8f.l0u.lI(Unknown Source)

    com.aspose.pdf.internal.l8f.l0u.lI(Unknown Source)

    com.aspose.pdf.internal.l8f.l0u.lI(Unknown Source)

    com.aspose.pdf.internal.l8f.l0u.lj(Unknown Source)

    com.aspose.pdf.internal.l8f.ly.l0f(Unknown Source)

    com.aspose.pdf.internal.l8f.ly.lf(Unknown Source)

    com.aspose.pdf.internal.l8f.l0if.l0l(Unknown Source)

    com.aspose.pdf.internal.l8f.ly.lI(Unknown Source)

    com.aspose.pdf.ADocument.lI(Unknown Source)

    com.aspose.pdf.Document.lI(Unknown Source)

    com.aspose.pdf.ADocument.convertInternal(Unknown Source)

    com.aspose.pdf.Document.convertInternal(Unknown Source)

    com.aspose.pdf.ADocument.convert(Unknown Source)

    com.aspose.pdf.Document.convert(Unknown Source)

    ext.aspose.StandardASPOSEService.convertPDFToASPOSEPDFDocument(StandardASPOSEService.java:732)

    ext.aspose.StandardASPOSEService.convertPdfToPdf(StandardASPOSEService.java:653)

    ext.aspose.StandardASPOSEService.lambda$convertToPDF$0(StandardASPOSEService.java:293)

    java.util.concurrent.FutureTask.run(FutureTask.java:266)

    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

    java.lang.Thread.run(Thread.java:748)

Please, can you help me and tells me what’s wrong?

@asautret

Thanks for contacting support.

Would you kindly share a bit more details about the conversion that you are performing. In which format you are trying to export your PDF document? Please share your sample PDF along with sample code snippet and complete information of your environment e.g. OS name and version, application type, JDK version, etc. We will test the scenario in our environment and address it accordingly.