I will add to Mark's (excellent) stream of consciousness analysis: The next step is to see what the name of the font resource is that is causing the problem. Then, load RUPS and dig into the page dictionary and find the entry for that font resource - given what Mark is showing in the source, most likely the font resource isn't defined.
There's always a question with this sort of thing about 'why does Acrobat show the file OK' - the answer is that Acrobat is very permissive - there are all sorts of problems like this that it may silently ignore. Older versions of Acrobat often show problems that newer versions ignore. And then, of course, there's always the possibility that there's a problem with iText, and the strategy for looking up font resources isn't quite in sync with the PDF spec. I don't *think* that is the case here, but it's always possible. If you do wind up providing the PDF so we can take a look, be sure to also provide font file that think may be involved. - K -- View this message in context: http://itext-general.2136553.n4.nabble.com/NPE-while-Extracting-text-tp2256512p2257485.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/