iText 2.0.3



  • Changes made by Paulo
    • AcroForms: make sure there 's always a /DA key
    • Digital Signatures: fixed the "n miscellaneous changes" message in Acrobat with signatures when "Compute Modifications List" was called
    • Digital Signatures: support for Adobe style CRL
    • Digital Signatures: better certificate parser
    • Digital Signatures: always create an appearance even if it 's an invisible signature
    • Encryption: change public key encryption permissions
    • Encryption: better enforcement of PDF restrictions
    • fix broken TIFF with incorrect TIFFTAG _STRIPBYTECOUNTS
    • BaseFont: option for not throwing an exception if the font name is invalid
    • Barcodes: extended code39 had problems with checksum
    • BarcodeDataMatrix: removal of some unused variables (+ bugfix)
    • HTMLWorker: SUB and SUP take the font size into account for the positioning
    • PageSize: typo for size ID-3 corrected by Andrew Binstock
    • PdfCell: fixed a bug with lists in cells (contributed by Jeremy Torbert)
    • PdfCopy: /Type can be an indirect reference
    • PdfGraphics2D: support for TextAttribute.WIDTH
    • PdfPatternPainter: fixed a NullPointerException
    • PdfStamperImp: fixed a NullPointerException with incorrect annotation
  • Changes made by Bruno
    • Introduction of a class named Utilities with some static methods that are used throughout the library
    • Massive reorganization of the 'basic building blocks' code. Deprecation of methods such as leading(), height(), width(),... in favor of getLeading(), getHeight(), getWidth(). Deprecation of constructors like Anchor(Properties attributes) in favor of methods in a new class called ElementFactory. Removal of all the isTag() methods.
    • Bugfix in GreekList (auto indent wasn't working), and reorganization of the method to set the list item to lower/upper case.
    • Removal of the iText toolbox. The toolbox is now available as a separate project with a different license. See http://itexttoolbox.sourceforge.net/. A class ToolboxAvailable checks if the toolbox.jar is available (and run the toolbox if possible).
    • Removal of EPS support. The code that was used from SUN's PostscriptDemo had ambiguous license information. Therefore it is better to look for an alternative.
    • Update of some references to an old version of the PDF Reference. (A more thorough update would be nice.)
    • BidiOrder: applied correct license info
    • SimpleXMLParser and IANAEncodings: clarifications in the copyright notices.
    • Removal of all references to RC4. We now use the term "standard encryption" in constants and ARCFOUR (Alleged RC4) for algorithms.
    • PdfGraphics2D: Daniel Harvey submitted a patch that changes the way PdfGraphics2D deals with polylines.
    • Support for Lang Alt in XMP contributed by Armin Häberling
  • Changes made by Mark
    • A major update to the RtfWriter2 (and all its helper classes); provided by Thomas Bickel.
    • Fixed a bug where fonts/colors only used in the header or footer were not being registered before the respective tables were written to the RTF document.
    • Fixed a REALLY ugly bug where only the red colour component was being set. Thanks to Raffaele Gambelli for finding it.
    • Document settings: Added settings to control the image generation, so that correct images for Word 2000, 97 and Mac can be generated. Also added shortcuts to set all required options for certain Word versions.
    • Images: Updated the image scaling code to improve the conformance with the PDF output. That means that images will now be displayed at 72 dpi by default and not at 96 dpi any more. This now completely mimicks the PDF output.
    • Images: Added support for GIF images as Word is happy as long as image type PNG is written. Thanks to Raffaele Gambelli for pointing that out.
  • Changes made by Xavier
    • Code cleanup