iText is a F/OSS library that allows you to create and manipulate PDF documents. In this release, we've added functionality that allows you to completely remove an optional content layer (OCG). iText 5.1.2 is mainly a maintenance release that fixes a series of bugs and that allows us to release the new version of XML Worker that depends on iText.
All the bugs that were reported on the mailing list since the previous release (June 8) were fixed: the algorithm to find startxref was made more memory efficient; the height of the Image wasn't taken into account when creating a PdfPCell with an Image (this is a bug that was introduced in iText 5.1.1); fixed a problem when an XFA stream didn't contain a datasets node; fixed a bug in the signature validation process; fixed a bug where iText introduced the namespace prefix "xmp" when "xap" was expected; and so on.
If you're interested in HTML to PDF functionality, please check out the new version of XML Worker (1.1.0) that was released simulaneously with iText 5.1.2.