New releases!2017-11-15
We released new versions of all SetaPDF components, FPDI and the FPDI PDF-Parser.
Some highlights of this release are:
- Methods in the SetaPDF-Core component to get orientations of pages or by height and width values.
- A new parameter in the SetaPDF-Extractor component allows you to reduce the results by a page boundary. This way content outside of the visible area won't be returned. The boundary can be passed to the SetaPDF_Extractor::getResultByPageNumber() method.
- When splitting PDF forms with the SetaPDF-Merger component, only used form fields will be copied to the resulting document now.
Besides these highlights this release comes with several bug fixes and tweaks, as you will see in the release notes below.
This release is also prepared for the upcoming PHP version 7.2. All components were successfully tested on the latest PHP 7.2 release candiate.
Check the release notes of the components below.
Log in to download the latest version of the related packages!
Version 2.0.1
Release date: 2017-11-14
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|---|---|---|
FPDI-2.0.1 | [zip] |
[composer.json |
FPDI
Bugfix
- Optimize closing of file handle in StreamReader class. (#30)
Tweak
- All internal function calls are FQN calls now.
- Added @noinspection annotations.
Version 2.0.2
Release date: 2017-11-14
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|
FPDI PDF-Parser
Tweak
- All internal function calls are FQN calls now.
- Added missing flag to extract call.
Version 2.26.0.1122
Release date: 2017-11-15
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|
SetaPDF-Core Component
Feature
- Implemented re-calculation of font bounding box for Type0 fonts with a TrueType font program.
- Implented logic to read composite glyph descriptions from TrueType fonts.
- Added SetaPDF_Core_PageFormats::getOrientation() method.
- Added SetaPDF_Core_Document_Page::getOrientation() method.
Change
- Increased default byte length from 1024 to 5500 bytes in which the component will search for the initial "startxref" keyword.
Bugfix
- Ignore broken indirect object references when resolving terminal fields in Fields array of the AcroFom dictionary.
- Ensured data length in AES decrypt methods.
Tweak
- Ensured encoding object type in simple font class.
- Handle reading of direct objects without a valid PDF value (throw an exception).
- Cache calculated font bounding boxes for TrueType and Type0 fonts.
- Jump to a more logical byte offset if parsing of a cross-reference table fails.
- Optimized TrueType-Table classes.
- Added logic to define a value type which should be read in the pdf parser class. (This catches faulty documents)
Demo
- Fixed a bug in the CombinePages demo.
Version 2.26.0.1122
Release date: 2017-11-15
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|
SetaPDF-Extractor Component
Feature
- Added the possibility to automatically reduce the strategy results by a page boundary.
Bugfix
- Fixed plain strategy if a text item is found which first character is a non-printable character.
- Ignore Do operator for non-existent XObjects.
Demo
- Fixed the CreateLinkAnnotations demo.
SetaPDF-Core Component
Feature
- Implemented re-calculation of font bounding box for Type0 fonts with a TrueType font program.
- Implented logic to read composite glyph descriptions from TrueType fonts.
- Added SetaPDF_Core_PageFormats::getOrientation() method.
- Added SetaPDF_Core_Document_Page::getOrientation() method.
Change
- Increased default byte length from 1024 to 5500 bytes in which the component will search for the initial "startxref" keyword.
Bugfix
- Ignore broken indirect object references when resolving terminal fields in Fields array of the AcroFom dictionary.
- Ensured data length in AES decrypt methods.
Tweak
- Ensured encoding object type in simple font class.
- Handle reading of direct objects without a valid PDF value (throw an exception).
- Cache calculated font bounding boxes for TrueType and Type0 fonts.
- Jump to a more logical byte offset if parsing of a cross-reference table fails.
- Optimized TrueType-Table classes.
- Added logic to define a value type which should be read in the pdf parser class. (This catches faulty documents)
Demo
- Fixed a bug in the CombinePages demo.
Version 2.26.0.1122
Release date: 2017-11-15
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|
SetaPDF-FormFiller Component
Feature
- Added set/getAppearanceTextColorSpace() methods to text, combo and list field classes to allow usage of individual color spaces for text rendering.
SetaPDF-Core Component
Feature
- Implemented re-calculation of font bounding box for Type0 fonts with a TrueType font program.
- Implented logic to read composite glyph descriptions from TrueType fonts.
- Added SetaPDF_Core_PageFormats::getOrientation() method.
- Added SetaPDF_Core_Document_Page::getOrientation() method.
Change
- Increased default byte length from 1024 to 5500 bytes in which the component will search for the initial "startxref" keyword.
Bugfix
- Ignore broken indirect object references when resolving terminal fields in Fields array of the AcroFom dictionary.
- Ensured data length in AES decrypt methods.
Tweak
- Ensured encoding object type in simple font class.
- Handle reading of direct objects without a valid PDF value (throw an exception).
- Cache calculated font bounding boxes for TrueType and Type0 fonts.
- Jump to a more logical byte offset if parsing of a cross-reference table fails.
- Optimized TrueType-Table classes.
- Added logic to define a value type which should be read in the pdf parser class. (This catches faulty documents)
Demo
- Fixed a bug in the CombinePages demo.
Version 2.26.0.1122
Release date: 2017-11-15
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|
SetaPDF-FormFiller Component
Feature
- Added set/getAppearanceTextColorSpace() methods to text, combo and list field classes to allow usage of individual color spaces for text rendering.
SetaPDF-Core Component
Feature
- Implemented re-calculation of font bounding box for Type0 fonts with a TrueType font program.
- Implented logic to read composite glyph descriptions from TrueType fonts.
- Added SetaPDF_Core_PageFormats::getOrientation() method.
- Added SetaPDF_Core_Document_Page::getOrientation() method.
Change
- Increased default byte length from 1024 to 5500 bytes in which the component will search for the initial "startxref" keyword.
Bugfix
- Ignore broken indirect object references when resolving terminal fields in Fields array of the AcroFom dictionary.
- Ensured data length in AES decrypt methods.
Tweak
- Ensured encoding object type in simple font class.
- Handle reading of direct objects without a valid PDF value (throw an exception).
- Cache calculated font bounding boxes for TrueType and Type0 fonts.
- Jump to a more logical byte offset if parsing of a cross-reference table fails.
- Optimized TrueType-Table classes.
- Added logic to define a value type which should be read in the pdf parser class. (This catches faulty documents)
Demo
- Fixed a bug in the CombinePages demo.
Version 2.26.0.1122
Release date: 2017-11-15
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|
SetaPDF-Merger Component
Bugfix
- Splitting of PDF documents will only copy used form fields into the resulting document now.
SetaPDF-Core Component
Feature
- Implemented re-calculation of font bounding box for Type0 fonts with a TrueType font program.
- Implented logic to read composite glyph descriptions from TrueType fonts.
- Added SetaPDF_Core_PageFormats::getOrientation() method.
- Added SetaPDF_Core_Document_Page::getOrientation() method.
Change
- Increased default byte length from 1024 to 5500 bytes in which the component will search for the initial "startxref" keyword.
Bugfix
- Ignore broken indirect object references when resolving terminal fields in Fields array of the AcroFom dictionary.
- Ensured data length in AES decrypt methods.
Tweak
- Ensured encoding object type in simple font class.
- Handle reading of direct objects without a valid PDF value (throw an exception).
- Cache calculated font bounding boxes for TrueType and Type0 fonts.
- Jump to a more logical byte offset if parsing of a cross-reference table fails.
- Optimized TrueType-Table classes.
- Added logic to define a value type which should be read in the pdf parser class. (This catches faulty documents)
Demo
- Fixed a bug in the CombinePages demo.
Version 2.26.0.1122
Release date: 2017-11-15
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|
SetaPDF-Core Component
Feature
- Implemented re-calculation of font bounding box for Type0 fonts with a TrueType font program.
- Implented logic to read composite glyph descriptions from TrueType fonts.
- Added SetaPDF_Core_PageFormats::getOrientation() method.
- Added SetaPDF_Core_Document_Page::getOrientation() method.
Change
- Increased default byte length from 1024 to 5500 bytes in which the component will search for the initial "startxref" keyword.
Bugfix
- Ignore broken indirect object references when resolving terminal fields in Fields array of the AcroFom dictionary.
- Ensured data length in AES decrypt methods.
Tweak
- Ensured encoding object type in simple font class.
- Handle reading of direct objects without a valid PDF value (throw an exception).
- Cache calculated font bounding boxes for TrueType and Type0 fonts.
- Jump to a more logical byte offset if parsing of a cross-reference table fails.
- Optimized TrueType-Table classes.
- Added logic to define a value type which should be read in the pdf parser class. (This catches faulty documents)
Demo
- Fixed a bug in the CombinePages demo.
Version 2.26.0.1122
Release date: 2017-11-15
Filename | Download | Composer
[ ? Use following minimal composer.json file to install a package through Composer. |
Information |
---|
SetaPDF-Core Component
Feature
- Implemented re-calculation of font bounding box for Type0 fonts with a TrueType font program.
- Implented logic to read composite glyph descriptions from TrueType fonts.
- Added SetaPDF_Core_PageFormats::getOrientation() method.
- Added SetaPDF_Core_Document_Page::getOrientation() method.
Change
- Increased default byte length from 1024 to 5500 bytes in which the component will search for the initial "startxref" keyword.
Bugfix
- Ignore broken indirect object references when resolving terminal fields in Fields array of the AcroFom dictionary.
- Ensured data length in AES decrypt methods.
Tweak
- Ensured encoding object type in simple font class.
- Handle reading of direct objects without a valid PDF value (throw an exception).
- Cache calculated font bounding boxes for TrueType and Type0 fonts.
- Jump to a more logical byte offset if parsing of a cross-reference table fails.
- Optimized TrueType-Table classes.
- Added logic to define a value type which should be read in the pdf parser class. (This catches faulty documents)
Demo
- Fixed a bug in the CombinePages demo.