HexaPDF v0.11.0 Release Notes

Release Date: 2019-11-19 // over 4 years ago
  • โž• Added

    • [HexaPDF::PDFArray] to wrap arrays and allow automatic resolution of references like with [HexaPDF::Dictionary] - MAY BREAK THINGS!
    • CLI command hexapdf watermark to apply a watermark PDF as background or stamp onto another PDF file
    • CLI command hexapdf image2pdf to convert images into a PDF file
    • [HexaPDF::DictionaryFields::Field#allowed_values] to allow constraining a field to certain allowed values
    • ๐Ÿ”ง [HexaPDF::Document::Fonts#configured_fonts] to return all font variants that are configured and available for adding to a document
    • [HexaPDF::Type::Annotations::Widget] and associated classes
    • [HexaPDF::Type::AcroForm::Form] and [HexaPDF::Type::AcroForm::Field] for basic AcroForm support

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ Use Reline for interactive mode of hexapdf inspect if available
    • [HexaPDF::DictionaryFields::Field::new] to use keyword arguments
    • โšก๏ธ Update the field information for implemented PDF types to include the allowed values where possible
    • Interface of font loader objects to allow another method available_fonts for returning all available fonts
    • ๐Ÿ’… [HexaPDF::Layout::Style] to check for valid values where possible

    ๐Ÿ›  Fixed

    • Line spacing of empty lines for [HexaPDF::Layout::TextLayouter]
    • Handling of /DecodeParms when exporting to PNG images