HexaPDF v0.15.0 Release Notes
Release Date: 2021-04-12 // about 3 years ago-
โ Added
- [HexaPDF::Type::Page#flatten_annotations] for flattening the annotations of a page
- [HexaPDF::Type::AcroForm::Form#flatten] for flattening interactive forms
- โก๏ธ [HexaPDF::Revision#update] for updating the stored wrapper class of a PDF object
- [HexaPDF::Type::AcroForm::SignatureField] for working with AcroForm signature fields
- ๐ Support for form field flattening to the
hexapdf form
CLI command
๐ Changed
- ๐ฅ Breaking change: Overhauled the interface for accessing appearances of annotations to make it more convenient
- Validation of [HexaPDF::Type::FontDescriptor] to delete invalid
/FontWeight
value - โก๏ธ [HexaPDF::MalformedPDFError#pos] an accessor instead of a reader and update the exception message
- Configuration option 'acro_form.fallback_font' to allow a callable object for more advanced fallback font handling
๐ Fixed
- [HexaPDF::Type::Annotations::Widget#background_color] to correctly handle empty background color arrays
- โก๏ธ [HexaPDF::Type::AcroForm::Field#delete_widget] to update the wrapper object stored in the document in case the widget is embedded
- ๐จ Processing of invalid PDF files containing a space,CR,LF combination after the 'stream' keyword
- Cross-reference stream reconstruction with respect to detection of linearized files
- Detection of existing appearances for AcroForm push button fields when creating appearances