iText 5.5.2



iText 5.5.2

  • Changes made by Alexander Chingarev
    • Improved generic testing framework (GenericTest, WrapToTest,...).
    • Added a method to PdfContentByte that allows you to add a Form XObject using a stream, a name and the coordinates of the CTM.
    • PdfName.ON was changed from "ON" to "on" by mistake in one of the previous release. This has now been fixed.
    • Officially deprecated PdfCopyFields
    • Officially deprecated HTMLWorker
  • Changes made by Pavel Alay
    • Added PdfACopy class for coping PDF/A documents
    • PdfWriter: add cacheObject() method
    • PdfCopy, PdfAWriter, PdfAStamperImp: improve cache logic, overriding PdfWriter's cacheObject() method.
    • Improved generic testing framework (GenericTest, CompareTool,...).
    • Prevent the use of PageStamp when using PdfCopy in tagged mode.
    • Added support of FDF setJavaScriptAction().
    • WebColors: change transparent color to (0xff, 0xff, 0xff, 0x00)
  • Changes made by Eugene Markovskyi
    • Fixed a bug that caused a StackOverflowException when copying forms. The fix was suggested by Michael Klink on Stack Overflow.
    • Moved method PdfCopyForms.copyDocumentFields() to PdfCopy
    • Fixed a potential NPE in PdfBody.Add()
    • Fixed incorrect processing of the Standard Type 1 Symbol and ZapfDingbats fonts (glyph mapping / encoding issue).
    • Restoring Tab functionality where a tab switched to the next line when the previous content risks to overlap with the new content. Solved some problems in case a tabs "overflows".
  • Changes made by Alexey Subach
    • PdfCopyFields and PdfCopy: now we also create the Tag structure when merging fields (this wasn't supported in the past).
  • Changes made by Raf Hens
    • Added translations for error messages.
    • Improved PdfAWriter.addFileAttachment() by adding a new method with an extra parameter.
  • Changes made by Michaël Demey
    • Implemented a suggestion by Bennie Lohr to move a super.close() call in PdfWriter to a finally clause so that the method is called even if an exception occurs.
  • Changes made by Amedee Van Gasse
    • Unchecked parameter input in WebColors caused NoSuchElementException
    • Overall improvement of the testing environment
  • Changes made by Bruno
    • GifImage: added an extra close() so that an InputStream is closed. This bug was reported by Manfred Neundlinger on Stack Overflow.
    • Added an entry to PdfName for Associated Files (AF).
    • In case of a Type3 font, we now just show the characters as is (before we showed nothing). Note that this change doesn't always make sense: Type 3 fonts are user defined fonts where arbitrary characters are mapped to custom glyphs. For instance: the character a could be mapped to an image of a dog, the character b to an image of a cat. When parsing a document that shows a cat and a dog, you shouldn't expect seeing a cat and a dog. Instead you'll get b and a. That doesn't make sense in this context, but at least you get two different characters.

XML Worker 5.5.2

  • Changes made by Pavel Alay
    • Major improvements to the CSS parser (complete rewrite of the functionality resulting in much better interpretation of CSS syntax).
  • Changes made by Alexey Subach
    • Better support for the <blockquote> tag.
    • Better support for underlined and strike-through text.
  • Changes made by Eugene Markovskyi
    • Div width is not limited by page width from HtmlPipelineContext.
  • Changes made by Michaël Demey
    • Avoiding a NPE in the Table class
  • Changes made by Bruno
    • Avoiding a NPE in the Table class

XFA Worker 5.5.2

(This is a closed source project on top of iText and XML Worker)
  • Changes made by Alexander Chingarev
    • ComplexResolver renamed to FlattenerContext
    • Added XFA Signature flattening.
    • Fixed a problem where text got duplicated
  • Changes made by Eugene Markovskyi
    • Fixed inconsistency where the PDF resulting in a different page count, depending on the view mode (print vs. screen).
    • Fixed value formatting issue: empty zero pattern(zero{}) was not applied to zero values
    • Added an interface for configuring which JS events should be evaluated
    • Impove support of SOM expressions in JavaScript resolveNode; JS sentences like "this.resolveNode("$")".
    • Improved JavaScipt interpretation for some text fields that weren't rendered properly.
    • Fixed incorrect processing of the Standard Type 1 Symbol and ZapfDingbats fonts (glyph mapping / encoding issue).
    • Fixed a problem with tables widths in case of documents with landscape orientation.
    • Fixed performance regression problem for specific types of forms when upgrading from XFA Worker 5.4.5 to 5.5.1.
    • Fixed a problem in XFAFontProvider that caused some fonts not being used.
    • Fixed incorrect processing of nested paragraphs.
  • Changes made by Pavel Alay
    • Fixed an issue where a wrong font was selected in some specific cases.
  • Changes made by Alexey Subach
    • JavaScript to hide fields wasn't evaluated. This has now been fixed.
    • JsTree: the index lookup was refactored to be consistent with the C# version.
    • Incorrect flattening in case there were several fields with the same name: they all got the same value: the first value in the sequence. This has now been fixed.
    • Fixed incorrect flattening of a combo box.
    • Fixed incorrect box height of a field with an empty caption.
    • JavaScript improvement and arc elements
    • Fixed several problems with Right to Left (RTL) writing systems.
    • Several fixes regarding images: fix nextPageArea retrieving, draw vs field elements, z-layer priority in PageAreas, image aspects