We just released new versions of all SetaPDF components.
With this release we finally dropped the PHP 5.2 and 5.3. support. If you're still on one of these versions, update as soon as possible!
A short summary of some highlights of this release: While most changes were done in the SetaPDF-Core component all other components benefit from these changes automatically. The SetaPDF-FormFiller is able to flatten button fields now (a requirement of our new customer bookboon.com) and the data matching process for XFA forms had gotten a refactoring. The SetaPDF-Extractor was tested against some very strangely created PDF documents and had received several enhancements (many of these were done in the Core component). And many more...
Check the release notes of the components below.
Log in to download the latest version of the related packages!
Use following minimal composer.json file to install a package through
Composer.
]
Information
SetaPDF-Core Component
Bugfix
Added check for valid instance created before parsing specific tokens in SetaPDF_Core_Font_Cmap.
Ignore white-space characters when parsing hex strings in CMaps.
Resolve indirect objects in W entry of Type0 font.
Added validity check for Encoding value in simple fonts.
Clean up foreign/referenced objects if the SetaPDF_Core_Document::$_cleanUpObjects property is set to true (default), too. Will reduces memory overhead in special situations extremely.
Added handling of fonts which are implemented without an indirect object.
Added support for handling uncommon bookmark outline structure.
Tweak
Optimized fallback in SetaPDF_Core_Font::getCharByCharCode() method in case of control characters.
Added 0x74727565 as a valid version tag in TTF parser class.
Fixed extending of SetaPDF_Core_Canvas_GraphicState class.
Added static property and getter/setter methods to SetaPDF_Core_Canvas_GraphicState class which gives you access to the maximum allowed nesting level of graphic states.
Added optional parameter to getAvgWidth() method of all font classes to allow a calculation of the average width value if it is not defined.
Ignore comments when parsing CMAP tables.
Added fallback in getGlyphWidth() method of Type0 font for missing character codes.
Refactored resolving of standard font class names.
Added fallback to standard fonts for incomplete TrueType fonts which uses a standard font as their base font entry.
Use following minimal composer.json file to install a package through
Composer.
]
Information
SetaPDF-Extractor Component
Change
Handle underscore (_) as a non-word character.
Tweak
Optimized clean-up of control characters in plain text strategy.
Made skipping of space character in ExactPlain strategy configurable (default: false).
Optimized resolving of space width value for fonts with an unusual font bounding box.
Added support for XObjects without a resource dictionary.
Added handling of ZERO WIDTH SPACE.
Added "SOFT HYPHEN" as a word character.
Use "NO-BREAK SPACE" as a valid word separator.
Demo
Added missing PDF file for AddImageAbovePlaceholder.php demo.
Updated demo that shows how to place an image above a placeholder.
SetaPDF-Core Component
Bugfix
Added check for valid instance created before parsing specific tokens in SetaPDF_Core_Font_Cmap.
Ignore white-space characters when parsing hex strings in CMaps.
Resolve indirect objects in W entry of Type0 font.
Added validity check for Encoding value in simple fonts.
Clean up foreign/referenced objects if the SetaPDF_Core_Document::$_cleanUpObjects property is set to true (default), too. Will reduces memory overhead in special situations extremely.
Added handling of fonts which are implemented without an indirect object.
Added support for handling uncommon bookmark outline structure.
Tweak
Optimized fallback in SetaPDF_Core_Font::getCharByCharCode() method in case of control characters.
Added 0x74727565 as a valid version tag in TTF parser class.
Fixed extending of SetaPDF_Core_Canvas_GraphicState class.
Added static property and getter/setter methods to SetaPDF_Core_Canvas_GraphicState class which gives you access to the maximum allowed nesting level of graphic states.
Added optional parameter to getAvgWidth() method of all font classes to allow a calculation of the average width value if it is not defined.
Ignore comments when parsing CMAP tables.
Added fallback in getGlyphWidth() method of Type0 font for missing character codes.
Refactored resolving of standard font class names.
Added fallback to standard fonts for incomplete TrueType fonts which uses a standard font as their base font entry.
Use following minimal composer.json file to install a package through
Composer.
]
Information
SetaPDF-FormFiller Component
Feature
Added SetaPDF_FormFiller_Field_Text::setTextTranslate() method to allow control readjustment of text positions.
Added PushButton class, to allow access to its widget annotation and flattening function.
Change
Added logic to prohibit flattening single fields of XFA forms to prohibit consequential fatal errors.
Bugfix
Fixed rendering issue for multi-line text fields with fonts that have a very big bounding box.
Fixed handling of field names, that includes a dot in their names.
Tweak
Ignore fields with a "removed" key in their dictionary.
Prohibit a division by zero in case of a text field value with a width of zero.
Optimized SetaPDF_FormFiller_Field_Combo::setEditable() to prevent setting the default value when switching to "not editable".
Optimized/Refactored handling of XFA data matching process.
Use default values in XFA forms if no data node is available.
Ensures that a new data note is not mapped to an existing data node that is declared as a data group node.
SetaPDF-Core Component
Bugfix
Added check for valid instance created before parsing specific tokens in SetaPDF_Core_Font_Cmap.
Ignore white-space characters when parsing hex strings in CMaps.
Resolve indirect objects in W entry of Type0 font.
Added validity check for Encoding value in simple fonts.
Clean up foreign/referenced objects if the SetaPDF_Core_Document::$_cleanUpObjects property is set to true (default), too. Will reduces memory overhead in special situations extremely.
Added handling of fonts which are implemented without an indirect object.
Added support for handling uncommon bookmark outline structure.
Tweak
Optimized fallback in SetaPDF_Core_Font::getCharByCharCode() method in case of control characters.
Added 0x74727565 as a valid version tag in TTF parser class.
Fixed extending of SetaPDF_Core_Canvas_GraphicState class.
Added static property and getter/setter methods to SetaPDF_Core_Canvas_GraphicState class which gives you access to the maximum allowed nesting level of graphic states.
Added optional parameter to getAvgWidth() method of all font classes to allow a calculation of the average width value if it is not defined.
Ignore comments when parsing CMAP tables.
Added fallback in getGlyphWidth() method of Type0 font for missing character codes.
Refactored resolving of standard font class names.
Added fallback to standard fonts for incomplete TrueType fonts which uses a standard font as their base font entry.
Use following minimal composer.json file to install a package through
Composer.
]
Information
SetaPDF-FormFiller Component
Feature
Added SetaPDF_FormFiller_Field_Text::setTextTranslate() method to allow control readjustment of text positions.
Change
Added logic to prohibit flattening single fields of XFA forms to prohibit consequential fatal errors.
Bugfix
Fixed rendering issue for multi-line text fields with fonts that have a very big bounding box.
Fixed handling of field names, that includes a dot in their names.
Tweak
Ignore fields with a "removed" key in their dictionary.
Prohibit a division by zero in case of a text field value with a width of zero.
Optimized/Refactored handling of XFA data matching process.
Use default values in XFA forms if no data node is available.
Ensures that a new data note is not mapped to an existing data node that is declared as a data group node.
SetaPDF-Core Component
Bugfix
Added check for valid instance created before parsing specific tokens in SetaPDF_Core_Font_Cmap.
Ignore white-space characters when parsing hex strings in CMaps.
Resolve indirect objects in W entry of Type0 font.
Added validity check for Encoding value in simple fonts.
Clean up foreign/referenced objects if the SetaPDF_Core_Document::$_cleanUpObjects property is set to true (default), too. Will reduces memory overhead in special situations extremely.
Added handling of fonts which are implemented without an indirect object.
Added support for handling uncommon bookmark outline structure.
Tweak
Optimized fallback in SetaPDF_Core_Font::getCharByCharCode() method in case of control characters.
Added 0x74727565 as a valid version tag in TTF parser class.
Fixed extending of SetaPDF_Core_Canvas_GraphicState class.
Added static property and getter/setter methods to SetaPDF_Core_Canvas_GraphicState class which gives you access to the maximum allowed nesting level of graphic states.
Added optional parameter to getAvgWidth() method of all font classes to allow a calculation of the average width value if it is not defined.
Ignore comments when parsing CMAP tables.
Added fallback in getGlyphWidth() method of Type0 font for missing character codes.
Refactored resolving of standard font class names.
Added fallback to standard fonts for incomplete TrueType fonts which uses a standard font as their base font entry.
Use following minimal composer.json file to install a package through
Composer.
]
Information
SetaPDF-Core Component
Bugfix
Added check for valid instance created before parsing specific tokens in SetaPDF_Core_Font_Cmap.
Ignore white-space characters when parsing hex strings in CMaps.
Resolve indirect objects in W entry of Type0 font.
Added validity check for Encoding value in simple fonts.
Clean up foreign/referenced objects if the SetaPDF_Core_Document::$_cleanUpObjects property is set to true (default), too. Will reduces memory overhead in special situations extremely.
Added handling of fonts which are implemented without an indirect object.
Added support for handling uncommon bookmark outline structure.
Tweak
Optimized fallback in SetaPDF_Core_Font::getCharByCharCode() method in case of control characters.
Added 0x74727565 as a valid version tag in TTF parser class.
Fixed extending of SetaPDF_Core_Canvas_GraphicState class.
Added static property and getter/setter methods to SetaPDF_Core_Canvas_GraphicState class which gives you access to the maximum allowed nesting level of graphic states.
Added optional parameter to getAvgWidth() method of all font classes to allow a calculation of the average width value if it is not defined.
Ignore comments when parsing CMAP tables.
Added fallback in getGlyphWidth() method of Type0 font for missing character codes.
Refactored resolving of standard font class names.
Added fallback to standard fonts for incomplete TrueType fonts which uses a standard font as their base font entry.
Use following minimal composer.json file to install a package through
Composer.
]
Information
SetaPDF-Signer Component
Tweak
Optimized ASN.1 parser to support invalid padded packages.
Internal update to not clean up objects.
Demo
Added a POC demo for signature validation.
SetaPDF-Core Component
Bugfix
Added check for valid instance created before parsing specific tokens in SetaPDF_Core_Font_Cmap.
Ignore white-space characters when parsing hex strings in CMaps.
Resolve indirect objects in W entry of Type0 font.
Added validity check for Encoding value in simple fonts.
Clean up foreign/referenced objects if the SetaPDF_Core_Document::$_cleanUpObjects property is set to true (default), too. Will reduces memory overhead in special situations extremely.
Added handling of fonts which are implemented without an indirect object.
Added support for handling uncommon bookmark outline structure.
Tweak
Optimized fallback in SetaPDF_Core_Font::getCharByCharCode() method in case of control characters.
Added 0x74727565 as a valid version tag in TTF parser class.
Fixed extending of SetaPDF_Core_Canvas_GraphicState class.
Added static property and getter/setter methods to SetaPDF_Core_Canvas_GraphicState class which gives you access to the maximum allowed nesting level of graphic states.
Added optional parameter to getAvgWidth() method of all font classes to allow a calculation of the average width value if it is not defined.
Ignore comments when parsing CMAP tables.
Added fallback in getGlyphWidth() method of Type0 font for missing character codes.
Refactored resolving of standard font class names.
Added fallback to standard fonts for incomplete TrueType fonts which uses a standard font as their base font entry.
Use following minimal composer.json file to install a package through
Composer.
]
Information
SetaPDF-Stamper Component
Bugfix
Throw exception on pages without a size instead of ending with a fatal error.
SetaPDF-Core Component
Bugfix
Added check for valid instance created before parsing specific tokens in SetaPDF_Core_Font_Cmap.
Ignore white-space characters when parsing hex strings in CMaps.
Resolve indirect objects in W entry of Type0 font.
Added validity check for Encoding value in simple fonts.
Clean up foreign/referenced objects if the SetaPDF_Core_Document::$_cleanUpObjects property is set to true (default), too. Will reduces memory overhead in special situations extremely.
Added handling of fonts which are implemented without an indirect object.
Added support for handling uncommon bookmark outline structure.
Tweak
Optimized fallback in SetaPDF_Core_Font::getCharByCharCode() method in case of control characters.
Added 0x74727565 as a valid version tag in TTF parser class.
Fixed extending of SetaPDF_Core_Canvas_GraphicState class.
Added static property and getter/setter methods to SetaPDF_Core_Canvas_GraphicState class which gives you access to the maximum allowed nesting level of graphic states.
Added optional parameter to getAvgWidth() method of all font classes to allow a calculation of the average width value if it is not defined.
Ignore comments when parsing CMAP tables.
Added fallback in getGlyphWidth() method of Type0 font for missing character codes.
Refactored resolving of standard font class names.
Added fallback to standard fonts for incomplete TrueType fonts which uses a standard font as their base font entry.
This website makes use of cookies to enhance browsing experience and provide additional functionality.
For more details please see our
Data Privacy Statement
(German).