iText 2.1.4



  • Changes made by Paulo
    • Title and Description should be a XmpArray (patch provided by Katja Sondermann)
    • CJKFont: A resource was not closed.
    • PdfCopy/PdfCopyFields: The bookmarks were being written twice.
    • PdfReader: A fix to take care of broken PDFs that have whitespaces after "stream" before the LF.
    • PdfWriter: Fonts are output in the order they are added.
    • PdfGraphics2D: The patch to simulate bold broke transparency (Bill Ensley).
    • PDF-A requires an EOL after obj
    • Local goto doesn't throw exception for inexistent local destination.
    • PdfStamper: Creates the SigFlags is there's a signature.
  • Changes made by Howard
    • RtfShape: Fix missing RtfDocument objects. Allows for shape objects to be added correctly.
    • RTF: changed getBytes() to use DocWriter.getISOBytes(...) for proper byte output.
    • Fix image processing for import. Control word shprslt is for Old version of Word and is not supported at this time. Send data to null destination.
    • RTF: Preparing for import into elements.
    • Fixed some tags.
  • Changes made by Xavier
    • javadoc cleanup: invalid @throws removed
    • removed unused imports
    • fixed svn keyword substitution
  • Changes made by Bruno
    • Code contribution by Kevin Day (see mailing list November 3, 2008): classes that already allow us to parse a PDF content stream to retrieve text; could form the foundation of more elaborate PDF parsing. Includes some classes from fontbox.org (BSD license).
    • Bigfix by Mark Storer: rhints not taken into account in create method of PdfGraphics2D
    • AcroFields: added a new method setListSelection
    • Exceptions thrown by XmpReader are now caught (see mails Stepan Rybar November 2008 reporting a problem with PDFs generated using FOP)
    • In 2.1.3, I introduced a bug that made the XMP data corrupt and caused the problem reported by Paul Ryan (on the mailing list, July 28)
    • CFFFontSubset: Ulrich Telle solved a problem when subsetting a CFF font (only blanks were displayed when opening the document with Adobe Reader 8 or higher).
    • TextField: V was only shown when the value wasn't empty AND a value wasn't required. I think it's sufficient to omit V when the field is empty; the extra constraint that the field may not be required is too strict.
    • PdfPRow: Fixed a problem with setNoWrap(true) in combination with setRotation(180)
    • Implementation of multiselect listbox support in XfdfReader asked for on the mailing list on October 28, 2008
    • Fixed a Copy/Paste error mentioned on the mailing list on September 1 2008 by Jean-Christophe Dorchies.
    • Bug reported and fixed in the SF bugtracker (#2094155; Carl Freeland): g2.currentFillGState = this.currentFillGState; was missing in PdfGraphics2D.create()
    • Fixed a bug reported in the SF bugtracker (#2124088): Broken auto numbering when using a ChapterAutoNumber as LargeElement.
    • Fixed a bug reported in the SF bugtracker (#2186356): When a paragraph that contains a PDFPTable gets added to another paragraph, an IndexOutOfBoundsException gets thrown.
    • New method addSignature, based on a suggestion by Michael Klink (see mailing list October 29, 2008)