v1.5.0 Alpha 15
Pre-releaseThis release fixes compatibility with Prawn 2.2.0. It also fixes several font width calculation bugs that were leading to Prawn::CannotFit errors when using custom fonts. The release includes numerous minor but important enhancements as well.
Distribution
Changelog
- fix compatibility with Prawn 2.2.0 (#775)
- add workaround for TTFunk bug when font table has empty data (#619, #651)
- take fallback font into account when calculating width of string (#651)
- fill and stroke bounds of sidebar across all pages (#259) (@TobiasHector)
- allow page margin to be set using pdf-page-margin attribute (#749)
- implement none, no-bullet and unstyled unordered list styles
- add dots to all levels in TOC if toc_dot_leader_levels is all
- use bold style for description list term by default (#776)
- always escape index term text (#761)
- don't crash if color value on text span is invalid
- implement start line number for source listing (Rouge) (#752)
- enable "start inline" option when highlighting PHP (#755)
- persuade CodeRay to handle html+ source languages
- introduce stripes attribute to table to control zebra-striping (#724)
- allow theme to set style of table border and grid (#766)
- allow theme to set text transform on header cell in table body (#750)
- set top border width of first body row to match bottom border width of header row
- don't add TOC if empty (#747)
- optimize code that generates outline level
- don't recalculate header_cell_data for each row
- use slightly more efficient way to find Pygments lexer
- upgrade rouge to 2.0.7
- upgrade prawn-templates to 0.0.5
- revise information in theming guide pertaining to custom fonts
- document in README how to get full support for CJK languages
- document in theming guide that Asciidoctor PDF subsets font when embedding
- document that background images are scaled to fit bounds of page
- add note in theming guide about using double quoted strings
Release meta
Released on: 2017-03-27
Released by: @mojavelinux
Logs: resolved issues | full diff
Credits
A huge shout out to @TobiasHector for making sense of the code and helping to get #259 resolved. Thanks to @thjanssen for helping me find bugs and areas to improve in Asciidoctor PDF while working on his new Hibernate Tips Book. Also thanks to @akrabat and @lucascosti for helping with the design for the PHP start inline. Thanks to everyone who helped with this release by submitting issues, giving feedback, testing, and coding!
A very special thanks to all the awesome supporters of the Asciidoctor Salt campaign who provided critical funding for the development of this release as well as ongoing development of the project.