FontWeight is added to font descriptor of DocumentFont.
avoid NPE of resource dictionary isn't provided
improve handling of quasi improper inline image content
Extra check to avoid NPE, reported by Ivan Farkas.
handle reads past end of file
NPE exception fixed.
Fix for Unicode processsing in text extraction. Fix for "--234" type of numbers in content parsing.
Fonts with /ToUnicode require extra processing.
Another /ToUnicode fix.
The latest change breaks my code. When I parse a document I get " t e x t   l i k e   t h i s" instead of "text like this"
Better error messages
Test demonstrates XFA /ToUnicode issue.
proper handling for 0 size files
With simple fonts /ToUnicode is only applied if there's no explicit encoding.
test for 0 size files
better handling of color space dictionaries in inline images
When you create an Image using a PdfTemplate that has a bounding box with an offset, the image isn't shown correctly (at least, that's what I think).
Bad idea; this breaks plenty of other code.
Ignore chars not found in /ToUnicode when extracting text.
Import of classes from the (discontinued) Apache Harmony project to reduce the dependency of iText on AWT classes in the future (making it easier to port iText to Android and GAE).