Free Support Forum - aspose.com

FdfExtractor.extractText() error: font subtype is not supported

I'm getting the following error when trying to extract the text from a PDF:

java.io.IOException: font subtype is not supported

at com.aspose.pdf.kit.jf.a(Unknown Source)

at com.aspose.pdf.kit.ki.c(Unknown Source)

at com.aspose.pdf.kit.iu.b(Unknown Source)

at com.aspose.pdf.kit.iu.a(Unknown Source)

at com.aspose.pdf.kit.iw.a(Unknown Source)

at com.aspose.pdf.kit.iw.a(Unknown Source)

at com.aspose.pdf.kit.iw.a(Unknown Source)

at com.aspose.pdf.kit.db.a(Unknown Source)

at com.aspose.pdf.kit.PdfExtractor.extractText(Unknown Source)

Here is the code, which is pretty much the same as in the examples:

PdfExtractor extractor = new PdfExtractor();

extractor.bindPdf( "C:\\Temp\\00400_00000001_ST_201211.pdf" );

extractor.extractText();

My initial testing was with pdf-kit 4.3.0, but the problem still occurs in 4.5.0. PDF is attached.

Anyone seen this before?

Hi John,


Sorry for the inconvenience faced. I've managed to reproduce the issue on my side and logged it in our bug tracking system for further investigation and resolution as PDFKITJAVA-33316. I've also linked your request to this issue and you will be notified via this thread as soon as it is resolved.


Please feel free to contact us for any further assistance.


Best Regards,