Bump hexapdf from 0.24.2 to 0.25.0
Bumps hexapdf from 0.24.2 to 0.25.0.
Changelog
Sourced from hexapdf's changelog.
0.25.0 - 2022-10-02
Added
- Support for the document outline
- [HexaPDF::Layout::Style#line_height] for setting a custom line height independent of the font size
- [HexaPDF::Document::Destinations#use_or_create] as unified interface for using or creating destinations
- [HexaPDF::Document::Destinations::Destination#valid?] and class method for checking whether a destination array is valid
Fixed
- Calculation of text related [HexaPDF::Layout::Style] values for Type3 fonts
- [HexaPDF::Encryption::SecurityHandler#encrypt_string] to either return a dupped or encrypted string
- [HexaPDF::Layout::TextLayouter#fit] to avoid infinite loop when encountering a non-zero width breakpoint penalty
- [HexaPDF::Type::ObjectStream] to parse the initial stream data right after initialization to avoid access errors
- [HexaPDF::Revisions::from_io] to merge a completely empty revision with just a /XRefStm pointing into the previous one with the latter
- [HexaPDF::Revisions::from_io] to handle the case of the configuration option 'parser.try_xref_reconstruction' being false
Commits
- See full diff in compare view