I attach a new pdf. I use your code:
I get the same error.

best regards, Magnus Persson


import java.io.IOException;

import com.itextpdf.text.pdf.PdfReader;
import com.itextpdf.text.pdf.parser.LocationTextExtractionStrategy;
import com.itextpdf.text.pdf.parser.PdfTextExtractor;
import com.itextpdf.text.pdf.parser.TextRenderInfo;


public class PdfParse {
PdfParse() {
PdfReader reader;
try {
reader = new PdfReader("err.pdf");
//reader.processContent();
System.out.println(PdfTextExtractor.getTextFromPage(reader, 1));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
public static void main(String[] args) {
PdfParse p=new PdfParse();
}
}

 
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/invalid-strings-when-doing-textextract-tp2543790p2546649.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to