iText 2.1.2



  • EXTRA UPDATE 2.1.2u: support for utf32 broke functionality in TrueTypeUnicode. This was fixed in an updated release on May 17, 2008.
  • Changes made by Paulo
    • Changing the MODDATE when using PdfStamper made XMP inconsistent (reported on the iTextSharp mailing list)
    • More efficient text array (contributed by Mark Storer)
    • Support for utf32 in TrueType files. Access is done through surrogates (iTextSharp contribution by James Wu, ported to Java by Paulo).
    • Remove deprecated class DERConstructedSet.
    • Introduced an immutable Rectangle class for use in class PageSize. The PageSize class is a list of static Rectangle fields. These fields are mutable and any change has repercussions in other programs using the fields. The new class RectangleReadOnly is a plain Rectangle but calling any methods that would change its properties throws an exception. This effectively turns this class into an immutable Rectangle that can be used safely as a shared static field.
    • Introduced the DrawInterface for separators with zero height (such as the LineSeparator)
  • Changes made by Howard
    • Fixed \listhybrid control word.
    • List numbers were starting at the wrong number.
    • Fixed importing graphic objects while importing a RTF file.
  • Changes made by Mark
    • Added support for the VerticalPositionMark in the RtfWriter2. This included a rewrite of the mapping code in RtfMapper so that more than one element can be returned.
  • Changes made by Xavier
    • Suggested a separate class DefaultSplitCharacter (implemented by Bruno).
    • new method registerDirectory() in FontFactoryImp to recursively register fonts.
    • registerDirectories() uses the recursive scans on Unix paths and checks extra directories.
    • Code clean up in the newly added code (including giving better names to methods and variables) and code clean up in the toolbox
    • The downloadable source jars now also contain the libraries needed to compile the source.
  • Changes made by Bruno
    • Added support for locked OCG layers.
    • Added OCG support in PdfStamper; you can now add new OCG layers to an existing PDF.
    • Method to get all the PdfLayer objects in the existing document. When you add children, new Optional Content Groups are added.
    • Added a DottedLineSeparator and VerticalPositionMark implementing the DrawInterface.
    • Added Chunks that can be used a 'glue' ('consuming' vertical space so that a line is justified).
    • Added support for tab Chunks.
    • Support for Hyphenation in HTMLWorker, Phrase and its subclasses.