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?