Skip to content

@pavel-alay pavel-alay released this Sep 19, 2019 · 34 commits to develop since this release

7.1.8

We're pleased to announce our latest quarterly release iText 7.1.8. Despite the minor release number, we think it counts as a pretty significant update as in addition to various improvements and bug fixes in our layout and kernel modules, iText 7.1.8 adds support for XFDF and better SVG handling.

Please be advised that we did a tiny bit of API breakage on PdfPolyGeomAnnotation, where we had to remove getType(), so if you inherit it, you must override it (sorry!).

A special shout out to JorisJ, who submitted a Pull Request that was incorporated into this release.

New features

Improvement

  • SVG: use structural comparison instead of visual comparison in tests.
  • Build configuration for porting (with pushing ported branches) custom branches in all autoportable repositories.
  • Expose TypographyUtils#isPdfCalligraphAvailable to allow an easy check of whether layout is aware of pdfCallighraph.
  • itext7 PR #41: Use starting bytes to check if byte[] is WmfImage.
  • Update tests ignored because of SNAPSHOT being written to extracted images.

Bug

  • SVG: Incorrect path closing leads to incorrect filling.
  • HyphenateResultTest#hindiHyphResult fails on Jenkins on Linux with StackOverflowError.
  • IndexOutOfBoundsException in Table widths calculation.
  • layout: NPE while splitting a row (applying vertical alignment on a splitted cell).
  • PdfLayer#getIntents fails in case of multiple intents for the layer instance.
  • RegexBasedLocationExtractionStrategy returns height of 0 on rotated page.
  • kernel: incorrect page boundary keys are used for VIEW_CLIP, PRINT_AREA, PRINT_CLIP constants.
  • Reduce stack size requirements when hyphenating strings in some of the languages.

Tasks

  • Exclude private parameterless constructors from code coverage analysis.
Assets 4

@ars18wrw ars18wrw released this Jul 11, 2019 · 88 commits to master since this release

barcodes

  • Improve the way data is encoded in DataMatrix barcodes

forms

  • Improve handling of empty Signature Form Fields
  • Improve robustness with improperly created form fields
  • Better support for multiple/different fonts

kernel

  • Improve the performance of SmartMode copying (performance boost in merge)
  • Avoid resources depletion due to decompression bombs
  • Improve the performance when handling multiple PdfDocument instances from a single PdfReader
  • Better support for invalid xref tables

pdfa

  • Better validation/creation of PDF/A-3 and PDF/A-1b documents

sign

  • Improve placement of signatures on rotated pages

svg

  • Added support for em values for font-size
  • Added support for exponential numbers within SVG properties
  • Improve the placement of elements with transformation matrices
  • When the font size metric is omitted, px should be assumed
  • Inherit CSS styles assigned via class in the <svg> tag
Assets 4

@pavel-alay pavel-alay released this Apr 26, 2019 · 188 commits to develop since this release

svg

  • Fixed outstanding issue when handling closePath and moveTo that sometimes resulted in line-joins being applied incorrectly
  • Support S/s (relative/absolute smooth cubic Bézier path), and T/t (relative/absolute smooth quadratic Bézier path) commands
  • Transparency support - colors can have an alpha component, and objects can have a fill-opacity or stroke-opacity
  • Update of Text element handling to allow TSpan support + Initial TSpan support
  • Implement relative values for Svg Path commands C/L/M/S e. C(absolute), c(relative)
  • Added support for Elliptical paths

kernel

  • Preserve border, background and font for FormFields
  • Allow unknown annotation type in PdfAnnotation#makeAnnotation()
  • Improve text extraction with Type 3 fonts
  • Improve ToUnicode for Type0 fonts without subset

sign

  • Embed OCSP response for all certificates in the chain in PdfSigner#signDetached
  • Improve OCSPVerifier responder certificate verification
  • Cover the case of updating LTV verification data of PDF when DSS does not contain VRI entry

layout

  • Update a table's fixed-layout algorithm in case a negative width remains
Assets 3

@pavel-alay pavel-alay released this Feb 19, 2019 · 324 commits to develop since this release

kernel

  • Improvements to Font parsing and resolving
  • Reported issues with character spacing and text chunk repositioning

sign

  • Fix security incident where our signature checker is too lenient. The CVE number for this vulnerability is pending.

svg

  • The much requested feature clipPath is now supported
  • Path operator improvements

Other modules

Small fixes for forms, pdfa, styled-xml-parser, and barcodes. Fixes in io are for pdfCalligraph

Assets 3
Dec 6, 2018
[RELEASE] master - 7.2.0
* Release:
  [RELEASE] 7.1.5-SNAPSHOT -> 7.1.5
  Add missing copyright headers
  SXP: Fix difference between Java and C#
  Check whether a signature indeed covers a whole document. Add some tests.
  Support PdfFormXObjects in BackgroundImages
  Generalize ResourceResolver and make it easier to subclass
  Avoid redundant data moving from string to float format; use utility method to avoid calling platform dependent methods after porting
  Take line indent in account during intrinsic widths calculations only for the first child in the line
  Add support of nowrap property for inline images
  Introduce default value for FONT_FAMILY in SXP in order to resolve INITIAL and INHERIT values of CSS properties
  Improve nowrap property support for inline-blocks
  Forbid text alignment if content overflows parent
  Implement basic support of nowrap property
  Do not throw an NPE if there is no needed dictionary while parsing a pdf. Add some tests.
  Consider the existed spacings while processing test's justification.
  Support "!important" in inline css
  Add a new test demonstrating path painting exception
  Process the border-radius property on images. Add a test.
  Refactor border-radius processing.
  Fix a minor typo in a border-radius processing.
  Do not consider an occupied area twice while image drawing. Update some cmps.
  Consider image's margins and borders while deciding whether to force place it or not.
  Consider text's paddings if the renderer was replaced while direction processing.
  Consider the direction while applying justification on a text.
  Add .mailmap file
  Process actual text correctly while adding a glyphline to another one.
  Fix exception in PdfCanvasProcessor when an empty path is closed
  SUP-3482 fix bug
  Add test for a new bug
  Add a new handy GlyphLine-construction method. Add a test.
  Support GPOS lookup type 9. Read unsigned values where necessary.
  Change level of logging message to warn. SUP-3544
  Test for DEVSIX-2393
  Revert removing leading slashes during resolving paths
  [RELEASE] 7.1.4-SNAPSHOT -> 7.1.5-SNAPSHOT
  Update too old cmp file for full compression test
  add test for DEVSIX-2228

@iText-CI iText-CI released this Oct 25, 2018 · 408 commits to develop since this release

https://github.com/itext/itext7/releases/tag/7.1.4

* release/7.1.4:
  [RELEASE] 7.1.4-SNAPSHOT -> 7.1.4
  Update too old cmp file for full compression test
  Remove relativePath from svg pom
  Fix copying fields during multiple page copying
  Create a copy for form field with name contains dot symbol
  Add test. DEVSIX-2187
  Add some new SVG tests.
  Squash multiple spaces into one if necessary.
  Update the path-processing algo.
  Add a new SVG test that demonstrates some Path-related issues.
  Update some method names in accordance with the naming convention.
  Add PdfDocument#findFont() for already added PdfFonts
  Create a unique name for each OCProperties. Update some cmps.
  SXP: Free resources after reading them
  add test for DEVSIX-2156
  Revert [a69a8131fa] "Fix bug in CompareTool when pdfstream from output file has filter different from cmp file"
  Reformat CompareTool javadocs, add details about diffPrefix arg to all overloads
  Add new overload for CompareTool#compareByContent which generates diff preffix based off output file name
  Fix bug in CompareTool when pdfstream from output file has filter different from cmp file
  Fix some minor min/max width algo issues. Update some cmps.
  Add missing copyright headers
  Path parsing updates
  Do not substitute a symbol with itself during line transformations.
  Add implementation for Path operators v and h. RND-1108
  Make method public for pdfHtml
  Fix PdfSweep failure on documents with ligatures
  Removing relativePath from pom file QA-529
  Fix up for styled-xml-parser and svg resources in pom
  Fix typo in gsParam
  Add -dSAFER to gsParams
  Simplify POM files for styled-xml-parser and svg, so they use the values set in the root POM
  Add missing copyright headers
  Add styled-xml-parser and svg to pom.xml
  Add 'svg/' from commit '65c48971f2a171497d73e2a4ed883333a0f34b73'
  ...
  Add 'styled-xml-parser/' from commit 'b35a24b753cb7932156925141a7e7d658db4eee7'
  ...
  Add new unit fontselector tests for open sans font-family.
  Add new font selector unit tests for standard fonts. Update cmps.
  Fix issues with additional separator in ResourceResolver
  Update the javadoc and some ticket-references.
  Handle the default font-family correctly.
  Unify the font selector algorithm with the browser's one.
  Refactor the FontSelector algo.
  Add missing copyright headers
  Ignore memory hungry hyphen tests (layout)
  Allow additional x509 extensions to be critical, as discussed in Ticket SUP-2885. Add test and refactor for PR-27. DEVSIX-1982
  Fix version replacement in CompareTool
  Fix bug
  Properly check to remove root outline. DEVSIX-2046
  Deprecate FileUtil#getParentDirectory(String file)
  DESIX-2049 move functionality from svg class to io FileUtil
  Update new lines in pom.xml
  Add missing copyright headers
  Move to DocumentCloneTest class in samples-internal project
  Reflect the test method name
  Remove versionInfo NPE when deserialize lower version of PdfDocument
  [RELEASE] Merge master into develop
  [RELEASE] 7.1.3-SNAPSHOT -> 7.1.4-SNAPSHOT
  Sort dependencies in pom.xml
  Add test. DEVSIX-1669
  add test for DEVSIX-2046
Assets 3

@amedee amedee released this Aug 29, 2018 · 641 commits to develop since this release

[RELEASE] iText 7 Core - 7.1.3

https://github.com/itext/itext7/releases/tag/7.1.3

* release/7.1.3:
  [RELEASE] 7.1.3-SNAPSHOT -> 7.1.3
  Fix append mode for hybrid-reference documents
  Minor fixes in itextcore's documentation.
  Revert "Ignore memory hungry hyphen tests (layout) to be fixed in DEVSIX-2036"
  Add test for layout NonBreakingHyphenTest
  Ignore memory hungry hyphen tests (layout) to be fixed in DEVSIX-2036
  Changed variable declaration and assignment to one line.
  Add test for DEVSIX-2033
  DataMatrix. Add test with zero textSize
  DataMatrix: check negative textSize
  DataMatrix: check array bounds
  Wrap negative offsets in datamatrix
  Add an explicit type conversion in a view of c#-port.
  Avoid failing with exception in case form field /DA key is malformed
  Add multiline fields with justification test
  Add new tests for flattening of appearances with tricky dimensions
  Move tests for flattening of rotated fields to a separate class
  Scale flattened form fields appearance properly
  Add missing copyright headers
  Refactor a class used in a test to be static
  Add small content stream optimization for ActualTextIterator
  Fix a small bug in GlyphLine#equals
  Refactor variable name so it doesn't hide field
  Add meta info to the event counting API
  Fix processing the end of an inline image.
  Process rounded span's background.
  Add missing copyright headers
  Calculate border radii correctly. Fix dashed and dotted borders drawing algo. Update cmps.
  Make barcodes.dmcode.Placement thread safe
  Add DITO as supported product in document info comparison
  Add version info to document on creation
  Add missing copyright headers
  Fix backward compatibility issue in PdfFormField
  Use font from /DA for button
  Update PdfFormField#setDefaultAppearance()
  Add AppearanceResources and AppearanceXObject
  Add test for filling the form and updating it's font
  Remove unused file open in test. DEVSIX-2007
  Ignore obviously suboptimal encodings for DataMatrix AUTO mode
  Add test. DEVSIX-2007
  Add missing copyright headers
  Apply typography logic for every script in single text chunk separately
  Make OpenTypeFontTableReader tolerant to NULL offset in LookupList table
  Introduce TYPOGRAPHY_CONFIG property
  Add missing copyright headers
  Sign the document as pdfa if the source doucment is pdfa. Add a test.
  Add some new methods to handle signature's font color. Add a test.
  Add small fix for RetryRunner
  Add missing copyright headers
  Add event processing API
  Implement event based counting
  Process non-breaking hyphen. Refactor the list of symbols which should be considered on the layout level while hyphenating. Add some new tests.
  Add missing copyright headers
  Add unicode range logic to FontProvider
  Add test for PdfExplicitRemoteGoToDestination
  Fix inconsistency between containsKey and getAsArray
  Fix typo in javadoc
  Revert casts in ArrayUtil
  Rename ArrayUtil#toArray() to ArrayUtil#toIntArray()
  Changing annotations of JUnit tests
  Add missing copyright headers
  Add new tests for inline context blocks
  Fail typography loading if even simple static collection retrieval method doesn't work
  Add new test for block with big fixed height and keep-together property
  Refactor time-based system utils to better represent there purpose
  Add test for BarcodeDataMatrix
  Making Xmx param global to avoid SO issue DEVSIX-1979
  Fix overflow renderer's height property processing. Add some new tests.
  Fix precision issue occured while image processing. Add a test.
  Add utility method for pdfHTML Svg integration
  Adding Xmx param to incrase heap size DEVSIX-1979
  Insert value in PdfImageXObject dictionary map made from int array. DEVSIX-1974
  Jacoco coverage to include all JUnit tests QA-349
  Add missing copyright headers
  Add classes for correct creation of explicit destinations
  Add listAppender clearance before test run
  Adjust clipping border to include entire canvas for multi-line text.
  Remove @Ignore, add template resource
  Fetch justifation of formfield from parent
  Fix typo in javadoc
  Revert multiple commits
  Add missed @Category
  Add missed @Category to ImageColorProfileTest and TableBorderTest
  Fix typo
  crude support of vertical alignment for inline-blocks
  add primitive support for table y-line-aligning for display:inline-table
  add temporary suppression on warning message
  Add a new hyphenation test.
  Fix case mismatch with .NET in woff2 tests
  Add a new test.
  Add missing copyright headers
  Add imagesWithDifferentDepth and add3dAnnotationTest
  Add missing copyright headers
  Add RetryOnFailure
  Fix off by one error. DEVSIX-1923
  Fix bug in RunLengthDecodeFilter
  Avoid treating byte as a signed value for the sake of .NET porting
  Make changes to PR-25 Add tests for PR 25
  fixed findFieldName method not  giving the result  more than one time.
  Add missing copyright headers
  Avoid exception in SignatureUtil when a read-only document was passed
  Specify message for the error logging in OtfClass class
  Consider word's prefix while splitting with hyphenation. Add some new tests.
  Revert "Add missing copyright headers"
  Fix copying of inherited page entries
  Add missing copyright headers
  Make checkbox field take into account user-specified font-size; auto-size font by default; fix bugs
  Add missing copyright headers
  Throw clear exception when facing an unsupported security hanlder
  [RELEASE] 7.1.2-SNAPSHOT -> 7.1.3-SNAPSHOT
  Add javadoc to Transform class
  Fix construction of Pdf3DAnnotations in PdfAnnotation#makeAnnotation
  Remove duplicate Barcode logic
  Add a new form field test.
  Fix offset issue. Consider word bounds while word splitting. Add new hyphenation tests.
  Revert "Revert "added non-breaking-space and non-breaking hyphen in TextRenderer#isGlyphPartOfWordForHyphenation""
  Revert "added non-breaking-space and non-breaking hyphen in TextRenderer#isGlyphPartOfWordForHyphenation"
  added non-breaking-space and non-breaking hyphen in TextRenderer#isGlyphPartOfWordForHyphenation
Assets 3
Jul 27, 2018
[RELEASE] iText 7 Core SVG - 7.1.3
https://github.com/itext/i7j-svg/releases/tag/7.1.3

* release/7.1.3:
  [RELEASE] 7.1.3-SNAPSHOT -> 7.1.3
  Remove unused logback dependency
  Change ticket number for Ignored test
  Remove obsolete comments
  Fix issues with forwarding fonts in SvgConverter
  Don't throw exception when unknown SVG tag is met
  Add ResourceResolver and FontProvider to constructor of SvgDrawContext
  Rename ProcessorContext to SvgProcessorContext
  Fix issues with FontProvider in svg
  Remove obsolete methods from ISvgProcessorProperties, ISvgProcessor, SvgConverter and ICssResolver
  Rename DefaultSvg* classes to just Svg*
  Remove CssResolver and ResourceResolver from Properties
  Implement svg font resolution
  Reduce jar size by removing resources from build
  Support Z operator for paths. RND-908
  Fix Quality Gate problems for equals methods
  Fix constant class rename not being applied
  Property Inheritance support
  Proliferate changes from SXP
  RND-864 fix sonarqube discovered bugs
  RND-878 initial commit fix handeling of unsupported Pah in structions
  RND-878 initial commit fix handeling of unsupported Pah in structions
  RND-912 RND-883 fix bugs and vulnerabilities by Qality Gate report
  Add more tests for <g>, <use>, and their combinations.
  Add Use element
  RND-883 add svg font resulution
  Add support for defs element. RND-913
  Fix bugs reported by SonarQube
  Remove unused Sun import that snuck in there RND-918
  Update test to use ExceptionStream
  Remove a test from DefaultSvgStyleResolverIntegrationTest - RND-865
  Add a default style sheet to the default style resolver.
  Support SVG processing in pdfHTML
  Add Methods for adding SVG at a specified point
  Add support for images.
  Change SvgConverterProperties constructor to a no args constructor. RND-928
  Make unsupported tags not throw an exception.
  Remove wildcard imports
  Remove spurious license header from BranchRenderer
  Add branch name to SonarQube project key
  Publish snapshot jars to snapshot repository on QA
  Add external resource loading fuctionality  RND-864
  Refector named objects and Rebase RND-879
  Refector named objects and Rebase RND-879
  Updated Ignore annotation to new blocking ticket.
  harmonize capitalization in tests
  Fix viewport related scaling bugs
  PdfRootRenderer implementation
  Fix splitting of transformation string RND-934
  Add more tests.
  [RELEASE] 7.1.2-SNAPSHOT -> 7.1.2
  Prepare svg for initial release
  QA - add sonar-project properties file needed for Bamboo
  QA - Fix SonarQube
  Refactor constant classes
  Review Remarks
  [RELEASE] 7.1.2-SNAPSHOT -> 7.1.3-SNAPSHOT
  [RELEASE] 7.1.2-SNAPSHOT -> 7.1.2
  Prepare svg for initial release
  Create intermediate inferface for branches
  Correct Javadocs comments
  calculate extra control point for curveTo pdf instruction C
  Fix bug in text vertical alignment
  Remove unportable test
  Bugfix for polyline, polygon and path rendering
  Handle conversion of floats through SvgCssUtils to facilitate autoport locale issues.
  Updated test files and corrected Javadocs comments.
  Basic text implementation
Jul 27, 2018
[RELEASE] iText 7 Core Styled XML Parser - 7.1.3
https://github.com/itext/i7j-styled-xml-parser/releases/tag/7.1.3

* release/7.1.3:
  [RELEASE] 7.1.3-SNAPSHOT -> 7.1.3
  Merge CssUtilsTest and CssUtilTest.
  Add util methods for parsing unicode range strings. Add a test.
  Remove collectCssDeclarations form ICssResolver interface
  Move display and inline block
  Move display and inline block
  fix findbugs errors
  Property Inheritance support
  Open QueryParser class
  Move classes and tests from html2pdf to SXP
  RND-864 add tests to improve coverage
  RND-864 fix sonarqube discovered bugs
  RND-864 add extra tests to improve coverage results
  RND-883 font resolution initial commit
  Refactor time-based system utils to better represent there purpose
  Make pdftest a test dependency rather than a compile one
  Support SVG processing in pdfHTML
  Revert "RND-864 add extra tests to improve coverage results"
  RND-864 add extra tests to improve coverage results
  Add method to ICssResolver interface. RND-928
  Port UriResolver from pdfHTML
  Move external style sheet loading from pdfHTML to styled-xml-parser RND-864
  [RELEASE] 7.1.2-SNAPSHOT -> 7.1.3-SNAPSHOT

@amedee amedee released this Aug 29, 2018 · 1190 commits to develop since this release

[RELEASE] iText 7 Core - 7.0.8

https://github.com/itext/itext7/releases/tag/7.0.8

* release/7.0.8:
  [RELEASE] 7.0.8-SNAPSHOT -> 7.0.8
  Add missing copyright headers
  Fix processing the end of an inline image.
  Port PdfFormField from develop
  Remove limitation on font-size writing in PdfCanvas
  Add test for PdfExplicitRemoteGoToDestination
  Fix inconsistency between containsKey and getAsArray
  Fix overflow renderer's height property processing. Add some new tests.
  Fix precision issue occured while image processing. Add a test.
  Add classes for correct creation of explicit destinations
  Fetch justifation of formfield from parent
  Fix case mismatch with .NET in woff2 tests
  Add RetryOnFailure
  Consider word's prefix while splitting with hyphenation. Add some new tests.
  [RELEASE] 7.0.7-SNAPSHOT -> 7.0.8-SNAPSHOT
  Add missing layout dependency on hyph.
  Add a new form field test.
  Do not consider flushed pages while regenerating field's value.
  Fix offset issue. Consider word bounds while word splitting. Add new hyphenation tests.
Assets 3
You can’t perform that action at this time.