iText 1.00 - iText 1.02b


iText 1.00 (June 25, 2003)

  • paulo 119
    • all the changes in the official version 0.99
    • added FULL support for BMP images in com.lowagie.text.pdf.codec.BmpImage. Well, maybe not full but if anyone has any BMP with an alpha channel, CMYK or some other that this class cannot open but works with other viewer, I would like to see it.
    • The binary characters that follow the header were changed to match those generated by Acrobat.
    • PdfReader can read PDF files with garbage in the first 1024 bytes.
    • added fractional metrics support to Type1 fonts.
    • added support for AffineTransform in PdfContentByte. This will simplify the rotations and translations.
    • some more fixes in PdfGraphics2D regarding clipping paths.
    • added the 'Times-Roman' family to FontFactory. Only 'Times' was recognized.
    • TrueType fonts with the extension OTF can be used with Identity-H.
  • paulo 120
    • FontFactory register all the TTF names for the different locales.
    • added FontFactory.registerDirectory and FontFactory.registerDirectories.
    • the image types GIF and PNG were eliminated together with the classes gif and png. This images are now identified by IMGRAW. HtmlWriter was changed to support it. The RTF part will probably also have to be changed. The good news is that all the gif and png will open without the awt Toolkit.
    • fixed AcroFields to set the /V key only in the dictionary with the /T key.
    • symbolic TrueType fonts with Identity-H have a linear mapping.
    • TIFFFaxDEcoder fixed (again) to work with some damaged images. Contribution by Danox.
    • added support to read encrypted PDFs. Contribution by Kazuya Ujihara, the maker of the iText port to .NET.
    • fixed in PdfGraphics2D a problem with incorrect line widths with rotated transforms.
    • PdfGraphics2D.setTransform() now creates a copy.
    • PdfGraphics2D.drawImage() waits for the loading of the image to be drawn.
    • fixed PdfPTable.setWidthPercentage(float columnWidth[], Rectangle pageSize).
    • PdfStamper can set the output pdf version. If not set, the version of the original is kept.
    • fixed the LZW stream decoder to be more lenient with errors.
    • fixed the ASCII85 stream decoder to correct the output of the last bytes.
    • fixed in PdfReader the stream sharing problem that files created with Distiller 3.01 may have.
    • new constructor in Chunk for a single char.
  • paulo 121
    • fixed a bug with indexed transparent PNG.
    • restored support for PNG and JPEG in RTF. Added support in RTF for WMF.
    • created several new list types (see the examples). Contribution by Michael Niedermair.
    • fixed a seek overflow for broken TIFF tags. Contribution by Anderson Bryan.
  • paulo 122
    • the subset prefix is generated randomly. Acrobat has problems in inserting pages with fonts with the same prefix.

iText 1.01 (October 1, 2003)

  • paulo 123
    • Chunks with a background color can set the size of the background rectangle.
    • added ColumnText.getWidth() and ColumnText.showTextAligned() to facilitate the placing of complex text in PdfContentByte.
    • added PdfPCell.setUseDescender(). The height of the PdfPCell can optionaly be automatically extended to avoid the truncation of the last line descenders.
    • fixed TrueTypeFont to accept fonts with broken cmaps.
    • another hack to PdfReader. It now checks the length of streams and attemps to fix incorrect sizes.
    • added PdfReader.shuffleSubsetNames(). It finds all the font subset prefixes in the file and replaces them with new, random values.
  • paulo 124
    • several changes made to ease the port to jdk 1.1
    • FontFactory registered directories using lower case names for files. This could fail in Unix.
    • fixed a bug in ColumnText that caused an infinite loop.
    • ColumnText can be duplicated. Useful to do simulations and write without having to load a new ColumnText.
    • added the constant FF_MULTISELECT in PdfFormField.
    • added opacity support in PdfGraphics2D. Colors with an alpha value will be translucid.
    • added a copy constructor to PdfReader.
    • added PdfReader.consolidateNamedDestinations to replaces all the local named links with the actual destinations.
    • added PdfReader.removeUnusedObjects to remove all the unreachable objects.
    • PdfStamper supports the addition of annotations. Adding new form fields is not yet supported.
    • the keys F and Ft are stored in the merged dictionary in PRAcroForm.
    • added createAwtImage() to the barcodes. The image is not used by iText but it's of use for other programs such as JasperReports.
  • paulo 125
    • added support for BMP in RTF.
    • removed the dependency on TextLayout for the bidi order levels. The awt toolkit is no longer needed for Arabic or Hebrew.
    • changed DocumentException to better track the stack trace.
    • some incorrect page sizes fixed in PageSize.
    • another hack to PdfReader. Reads files with pages without the /Page tag.
    • added PdfReader.createFakeFontSubsets(). Some producers, like Crystal Reports, create documents with subset fonts but without the correct prefix.
    • added bitmap support to WMF.
    • added ink spreading control to barcodes.
  • paulo 126
    • set the max number of lines in Cell.
    • added ALIGN_JUSTIFIED_ALL to justify the text including the last paragraph line. Use the attribute JustifyAll in XML.
    • added an explicit /DW for CJK fonts
    • fixed the reading of TIFF images without the ROWSPERSTRIP tag.
    • fixed a bug in PdfDocument for right aligned images.
    • changed PdfReader to provide information on the encryption flags.
    • changed PdfReader to provide information on the xref and trailer to facilitate the creation of updated documents.
    • fixed in PdfReader the reading of some 128 bit key encrypted documents.
    • fixed the flattening of documents that had pages without contents.
    • fixed the flattening of hidden fields.
    • fixed an exception with TrueType fonts without a kerning table.
    • better compliance for symbolic TrueType fonts.
    • fixed the rotation of text in WMF images when the extents were negative.
    • fixed the reading of images from byte array in RTF.
    • fixed a bug with nested Table.
  • Mark Hall
    • Fixed a NullPointerException.
    • Fixed a problem where Fonts and Colors only in header/footers weren't added to the document.

iText 1.02b (February 7, 2004)

  • Extra update 1.02b: bugfix in PdfReader by Paulo Soares
  • paulo 127
    • PangoArabicShapping was renamed to ArabicLigaturizer.
    • added more support for arabic Urdu ligatures and fixed a bug with lam-alef ligatures.
    • added support for screen renditions. Contribution by Galo Gimenez.
    • added support for custom encoding with ExtraEncoding and PdfEncodings.addExtraEncoding().
    • new encodings available: "Symbol", "ZapfDingbats" and "Wingdings". This encodings map the Unicode characters to this fonts, where possible.
    • added Chunk.setUnderline() to set underline lines at arbitrary positions.
    • added Font.getCalculatedBaseFont() and Font.getCalculatedStyle().
    • added the class FontSelector to select fonts based on their Unicode coverage.
    • FontFactory catches exceptions when reading directories.
    • added AcroFields.getAppearanceStates() to get the names allowed with radio and checkbox fields.
    • added PdfReader.getAcroFields() to get the field info without using PdfStamper.
    • added BaseFont.charExists() and BaseFont.setCharAdvance().
    • changed DefaultFontMapper to be case insensitive with system font names. Other system font name aliases were added.
    • fixed a problem with resource name colisions when importing PDFs with shared page resources.
    • fixed a problem with adding only fields without appearances.
    • added specifific support for patterns in PdfGraphics2D.
    • removed the /Colorspace key if the image is a mask.
    • another hack to read broken PDFs without a media box.
    • fixed a bug with setting the PDF version in PdfStamper.
    • symbolic fonts with Identity-H are also mapped in \uf0xx.
    • added Table.setDefaultLayout().
    • fixed a limit situation in PdfCell.getLines(). fixed auto font size for single line text fields in TextField.
    • added extended support for barcodes 128 with BarcodeEAN128. Contribution by Emmanuel Hugonnet.
    • added direct support for TexturePaint in PdfGraphics2D
    • corrected GradientPaint direction and general paint scaling in PdfGraphics2D. Contribution by Emmanuel Deviller.
    • added support for bookmark manipulation in SimpleBookmark. It also has support for import/export to XML and page shifting and deleting.
    • concat_pdf now keeps the bookmarks.
  • paulo 128
    • changed FontFactory to register the fonts faster. TTC fonts register all the names.
    • added the methods in AcroFields: renameField, getFieldPositions, removeField, removeFieldsFromPage.
    • added support for arabic number conversion, forced or contextual.
    • improved font resource loader. If you have a security manager running even with "AllPermissions" remember to also grant RuntimePermission("ClassLoader").
    • added methods to PdfAction: createLaunch, gotoLocalPage, gotoRemotePage.
    • fixed a bug with PdfGraphics2D.drawRenderedImage().
    • PdfIndirectReference was made public.
    • several changes to PdfReader: PRAcroForm is only calculated if needed, only the reachable objects are read, added the methods removeFields and removeAnnotations.
    • fix to PdfReader to support pages without contents.
    • added partial form flattening to PdfStamper.
    • in SimpleBookmark the names with codes below 32 are escaped.
    • TextField.getAppearance() was made public.
    • added support for OTF fonts with CFF glyphs and Identity-H encoding. Contribution by Sivan Toledo.