iText 2.1.0



  • Changes made by Paulo
    • DocumentFont: If the differences array replaced a high unicode value with a low unicode value the new value wouldn't be used (Gavin Disney).
    • PdfReader: The ASCII85 decoding was made more lenient toward errors.
    • BidiLine: The split position was changed to include the split char in the same line and not on the next line except if it's a whitespace.
    • PdfChunk: The default split char also includes a hyphen and spaces from \u2000 range.
    • Added an high level call to set the transparency blending to RGB: PdfWriter.setRgbTransparencyBlending(boolean rgbTransparencyBlending);
    • PdfGraphics2D: On Mac OS, with Aqua L&F, the fonts do not scale (Gabriel Erzse). This problem does not appear on Windows, and also does not appear on Mac OS if you use other L&F, for example Metal.
    • PdfGraphics2D: Hyperlinks are also supported with images.
    • PdfGraphics2D: Bugfix involving line thickness, reported by Christoph Wagner on the mailing list. The suggested bugfix was corrected by Paulo.
    • PdfWriter: Stamping imported pages didn't work.
    • AcroFields: The VISIBLE_BUT_DOES_NOT_PRINT flag was not being set in some cases when duplicating a field.
    • HTMLWorker: he 'pre' tag didn't create a Paragraph with the right attributes.
  • Changes made by Howard
    • Wrote and uploaded complete new RTF code that allows you to parse RTF files. Although this is only one line in the history file, this consistes of a lot of code! Note that Mark, Paulo and Bruno suggested minor changes, but as they are core contributors, they are not mentioned in the acknowledgments of these classes. Credit for the new classes goes to Howard who is now also on the list of core contributors.
  • Changes made by Mark
    • Finally deleted the old RtfWriter and all its helper classes.
    • Removed all deprecated methods that were slated for removal at 2.1.0 from the RTF package.
    • RTF: Updated the remaining methods that created an intermediary ByteArrayOutputStream to also directly write to an OutputStream.
    • Fully switched the RTF parsing code over to the new rtf.parser.RtfParser and removed the old parsing code.
    • Moved the com.lowagie.text.rtf package (and all its children) into the src/rtf tree from src/core.
    • Fixed an issue caused by the chunk optimisation code in Phrase. RtfFonts were getting lost, because they did not provide an RtfFont specific compareTo method.
  • Changes made by Xavier
    • code cleanup based on pmd output (several classes)
    • added @since tags (several classes)
    • svn:keywords properties for all java and xml files
    • ant tasks cleanup: delete renamed clean, useless exludes remove
    • examples relying on rtf classes moved to test.rtf ant target
    • use ${itext.jdk.rups} for javadoc tasks as rups requires 1.5+
  • Changes made by Bruno
    • Removal of the RUPS Utilities class
    • Removal of the methods scheduled for removal at 2.0.1
    • Update of the ANT files for making the release
    • PNGs were not included in the archives (RUPS icons)
    • getElement has been made public again (there was a question about it on the mailing list)
    • HTMLWorker: Ernest Micklei posted a few lines on the mailing list about handling "px". I think his patch wasn't correct, and provided an alternative for dealing with px.
    • PdfPCell: Extra constructor as suggested by Bruno Waes (mailing list january 25, 2008)
    • Solution for the problem of iText core jar depending on the RTF jar.
    • New pages explaining the copyright (this involved some minor extra clarifications in the source code)
    • API and history are now hosted on 1t3xt sites.