Alberto Sampayo created PDFBOX-2061:
---------------------------------------

             Summary: java.util.EmptyStackException in PDFTextStripper setFonts
                 Key: PDFBOX-2061
                 URL: https://issues.apache.org/jira/browse/PDFBOX-2061
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 2.0.0
            Reporter: Alberto Sampayo


Hi, when trying to extract text from a PDF with encoding indentiti-h

Map<String,PDFont> pageFonts = null;
List<PDPage> pages = pdDoc.getDocumentCatalog().getAllPages();
for(PDPage page : pages){
       pageFonts=page.getResources().getFonts();
}
pdfStripper.setFonts(pageFonts);



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to