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

Free Support Forum - aspose.com

Save PDF as Docx in Java using Aspose.PDF - Cannot find any fonts installed on the system Exception

We have P01724308.
We are using both Aspose.pdf and Aspose.words in an application deployed in docker.
We are getting following error when save a pdf to docx.
Can you please help me with the following questions:

  1. Where to find the desired fonts
  2. if possible, how to include the fonts in docker deployment scripts.

responseTimeStamp: duration:] Error processing the document
com.aspose.pdf.internal.ms.System.l6n: Cannot find any fonts installed on the system.
at com.aspose.pdf.internal.l25u.lv.lI(Unknown Source)
at com.aspose.pdf.internal.l25u.lv.lI(Unknown Source)
at com.aspose.pdf.internal.l25u.lv.lI(Unknown Source)
at com.aspose.pdf.internal.l16l.lf.lj(Unknown Source)
at com.aspose.pdf.internal.l16l.lf.lb(Unknown Source)
at com.aspose.pdf.internal.l16t.l0p.lI(Unknown Source)
at com.aspose.pdf.internal.l16t.l0p.lI(Unknown Source)
at com.aspose.pdf.internal.l16t.l0p.lI(Unknown Source)
at com.aspose.pdf.internal.l16t.l1p.(Unknown Source)
at com.aspose.pdf.internal.l15n.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l15n.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l15n.lI.lI(Unknown Source)
at com.aspose.pdf.internal.l15y.lj.lI(Unknown Source)
at com.aspose.pdf.internal.l0y.lf.lI(Unknown Source)
at com.aspose.pdf.l4p.lI(Unknown Source)
at com.aspose.pdf.l4p.lI(Unknown Source)
at com.aspose.pdf.ADocument.lj(Unknown Source)
at com.aspose.pdf.ADocument.lI(Unknown Source)
at com.aspose.pdf.Document.lI(Unknown Source)
at com.aspose.pdf.ADocument.save(Unknown Source)
at com.aspose.pdf.Document.save(Unknown Source)
at com.att.esign.signatureservice.model.RequestConverter.processDocument(RequestConverter.java:1578)
at com.att.esign.signatureservice.model.RequestConverter.convertDocumentResponse(RequestConverter.java:1513)

@att_welsh,

Thanks for contacting support.

Can you please check and make sure that fonts which you are using in PDF are available in your machine. Also please visit this thread. This will help to load fonts from folder as well.