github asciidoctor/asciidoctor-pdf v2.3.11

latest releases: v2.3.18, v2.3.17, v2.3.16...
8 months ago

This is a patch release in the 2.3.x release line that fixes a few bugs that have been lingering or discovered since the 2.0.0 release.

The key fix of this release is to define the color space on pages that have running content but no text in the main content area. This fix allows the generated PDF to be accepted by publishing platforms such as KDP and Lulu. This release also upgrades the prawn-svg dependency to 0.33 to add support for the dominant-baseline attribute in SVG (used by bytefield-svg). The smallcaps method has been extracted from the smallcaps_pcdata method in TextTransformer to make it easier to override. The table node being converted is assigned to the @node instance variable on the Prawn::Table instance so it can be accessed from the Prawn::Table#add_header method or other Prawn::Table extensions.

Distribution

Changelog

Enhancements

  • upgrade prawn-svg dependency to 0.33.x (PR #2469)

Improvements

  • extract shared smallcaps method from TextTransform#smallcaps_pcdata to make it easier to override
  • assign node to @node instance variable on table instance to make it easer to access from Prawn::Table extension (#2471)

Bug Fixes

  • ensure color spaces are set on page before adding running content (#2477)

Release meta

Released on: 2024-01-23
Released by: @mojavelinux
Release beer: Heady Topper by Alchemist Beer

Logs: resolved issues | source diff | gem diff

Credits

A very special thanks to all the awesome supporters of the Asciidoctor OpenCollective campaign, who provide critical funding for the ongoing development of this project.

Don't miss a new asciidoctor-pdf release

NewReleases is sending notifications on new releases.