github asciidoctor/asciidoctor-pdf v2.0.3

latest releases: v2.3.18, v2.3.17, v2.3.16...
2 years ago

Leveraging our new automated release process, we're putting out patch releases as fast and furious as the fixes for bugs we discover. This is a patch release that only fixes bugs and does not introduce any new functionality.

The fixes include adjusting the TrimBox on pages so the optimizer can successfully produce PDF/X compatible documents using Ghostscript, setting the height of an image resized to fit the height of a page accurately so it does not cause a page to be skipped, and truncating the title page contents to fit on a single page, logging a warning if this occurs. The one minor improvement is that an extended converter can access the optimize quality and compliance settings specified by the user through the @optimize instance variable.

Distribution

Changelog

Improvements

  • compute the optimize settings in init_pdf and store as Hash instead of after writing the PDF file

Bug Fixes

  • adjust TrimBox to fit inside of BleedBox when using optimizer and compliance is PDF/X (#2203)
  • set height of resized image to available height to avoid float precision error when scaling down image to fit page (#2205)
  • prevent content on title page from overrunning the bounds of a single page and warn; restriction applies to ink_title_page

Release meta

Released on: 2022-05-25
Released by: @mojavelinux
Release beer: Ghost in the Machine by Parish Brewing Co.

Logs: resolved issues | full diff

Credits

A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign who provided critical funding for the development of this release as well as ongoing development of the project.

Don't miss a new asciidoctor-pdf release

NewReleases is sending notifications on new releases.