github asciidoctor/asciidoctor-pdf v1.5.4

3 years ago

Summary

Thanks to community feedback and testing, we bring you yet another bug fix release. The most significant fix in this release is to restore compatibility with the latest Asciidoctor 2.0 release when using Pygments. A regression was fixed to keep the caption with the block image when the image is scaled down to fit on the page. Images in the theme are now resolved correctly when theme is loaded from classloader when using JRuby. And it's now possible to control the font family used for conums inside a verbatim block. This release also brings a minor release upgrade for prawn-svg. There are additional fixes you can find listed in the CHANGELOG.

Distribution

Changelog

Bug Fixes

  • restore compatiblity with Asciidoctor 2.0.12 when using Pygments (#1846)
  • fix numeric assertions in test suite (#1542)
  • keep caption with image when image is scaled down to fit page (#1803)
  • prevent inline image from rendering multiple times if fallback font is used for alt text (#1858)
  • disable cache tests if open-uri-cache gem is not available
  • disable hyphen tests if text-hyphen gem is not available
  • compensate for change in how character_spacing is applied in FontMetricCache#width_of after Prawn 2.2.2
  • allow inline image to be enclosed in link macro (alt text was breaking parsing)
  • use oembed API over HTTPS to get thumbnail for Vimeo video
  • use conum font family defined in theme for conum in verbatim block (#1611)
  • patch float precision constant so prawn-table does not fail to arrange cells that span columns (#1835)
  • resolve images in theme correctly when theme is loaded from classloader (JRuby only) (#1829)

Compliance

  • upgrade to prawn-svg 0.31 (adds support for loading embedded images from a data URI) (#1810)

Build / Infrastructure

  • migrate Linux CI jobs to GitHub Actions

Release meta

Released on: 2021-01-09
Released by: @mojavelinux
Release beer: D.O.R.I.S. the Detroyer by Hoppin' Frog

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.