I'm trying to extract text from PDF in my android application. For this purpose I'm using iText5
It's extraction of English text is satisfactory. I need to extract bangla text also. For bangla it's producing the following result:
It actually should produce something like following:
This is my code for extraction:
PdfReader pdfReader = new PdfReader(filePath);
String pageText = PdfTextExtractor.getTextFromPage(pdfReader, page);
How can I extract Bangla text properly with iText5? Or is there any other library to do this smoothly?
PS: I've also tried iText7 for this. But getting RuntimeException while gradle building. So left that and again trying with iText5