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