iText 5.4.1 — XML Worker 5.4.1



iText 5.4.1

  • Changes made by Paulo Soares
    • DocumentFont: Undo of wrong simplification introduced in iText 5.4.0
  • Changes made by Kevin Day
    • io package: Handling small and zero-sized files.
    • Reduced the memory use in the getContentBytesFromContentObject() method of ContentByteUtils.
    • Improved fix by Bruno that closes RandomAccessSources when the construction of a PdfReader object fails
  • Changes made by Alexander Chingarev
    • Chunk: getContent() optimization (after the introduction of tabs)
    • Optimization assigning the UUIDs to iText elements
    • Improved fix by Kevin of fix by Bruno that closes RandomAccessSources when the construction of a PdfReader object fails
    • TrueTypeFont: Glyphs hashSet should be copied when creating SubSet
  • Changes made by Michaël Demey
    • AcroFields: fixed the getAppearanceStates() for Comboboxes (with or without export values). It now returns an ordered array of the display values.
    • GifImage: fixed remote loading of images. GIF stored on a remote server weren't always loaded completely.
  • Changes made by Pavel Alay
    • Tagged PDF: fix writing of attributes for list item in structure element.
    • Minor refactoring in PdfCopy, PdfStructureElement, and CompareTool
    • Support for extra attributes in PdfStructureElement
    • Performance improvements in PdfCopy and PdfSmartCopy
  • Changes made by Eugene Markovskyi
    • Introduction of new Tab functionality.
    • Fixed issue with PDF/A-1B compliance, digital signature and keywords
    • Fixed incorrect sizes of PdfChunk based on scaled image.
    • Fix: The background-color position for image wasn't always correct
  • Changes made by Raf Hens
    • Fixed a NullPointerException problem in PdfAWriter
    • Introduction of a hasUsageRights method that checks if a PDF has usage rights (Reader-enabling)
    • Fix: char spacing was taken into account twice in certain circumstances
    • Introduced the concept of word spacing for Chunk objects
    • Fix: the wrong bit-flag was used for Rich Text fields in PdfFormField
    • Fix: keeptogether for paragraphs was broken with the introduction of new table splitting logic
  • Changes made by Bruno
    • Making sure RandomAccessSources are closed when the construction of a PdfReader object fails; improved by Kevin Day.
    • Quick and dirty fix in case the image content contains <whitespace> EI <whitespace>.

XML Worker 5.4.1

  • Changes made by Eugene Markovskyi
    • Fix: The background-color position for image wasn't not correct
  • Changes made by Pavel Alay
    • Fixed bug with separated selectors
    • Fixed height calculation for rows
    • Cleaned up default.css by removing tags, moving them to StyleAttrCSSResolver
    • Fix for XFA worker in ChunkCssApplier: add support of <font>, <b> and <u> elements
    • Fix for XFA worker in ChunkCssApplier: possible null reference exception of dataPipeline in XFAFlattener.flatten()