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

Free Support Forum - aspose.com

PDF fonts are not captured

I was using aspose.pdf-17.4.jar to list out the fonts used in a PDF.

but while using this library on a sample set of PDFs I found some of the fonts are not captured.

I have attached the source code and the used PDF for listing up the fonts.

PDF is having following fonts: (See the Not_Captured_Fonts.png in the attached zip)


But on running the java code it captured only the following:

Font found in the PDF document: Consolas
Font found in the PDF document: Calibri
Font found in the PDF document: Verdana
Font found in the PDF document: Verdana-Bold
[Consolas, Calibri, Verdana, Verdana-Bold]

Please let me know if some one has the answer.

Hi Modi,

Thanks for using our API's.

I have tested the scenario and have managed to reproduce same problem. For the sake of correction, I have logged it as PDFJAVA-36713 in our issue tracking system. We will further look into the details of this problem and will keep you posted on the status of correction. Please be patient and spare us little time. We are sorry for this inconvenience.

Any success on this?

Hi Modi,

Thanks for your inquiry.

I would like to inform you that a fix against earlier logged issue will be included in upcoming version Aspose.Pdf for Java 17.6 which is expected to be released in June 2017. We greatly appreciate your patience and comprehension in this regard. We are sorry for the delay and inconvenience.

Best Regards,


Thanks for your patience.

We have tested the scenario with latest version of the API and found no issue. Would you please try the scenario with latest version of the API, which is Aspose.Pdf for Java 17.8 and let us know if it generates correct output. In case if you still face any issue, please share your environment details (i.e OS Version, JDK Version etc.) with us, so that we can test the scenario in our environment and address it accordingly.