Skip to content

0.6.0

Compare
Choose a tag to compare
@ariebovenberg ariebovenberg released this 15 Aug 06:38
· 200 commits to main since this release

Added

  • ๐Ÿงฎ Paragraphs can be optimally typeset using the Knuth-Plass line
    breaking algorithm. Use the optimal argument for this.
  • ๐Ÿ›Ÿ Paragraphs support automatically avoiding orphaned lines with
    avoid_orphans argument.

Breaking

  • ๐Ÿ“Š In the rare case that a paragraphs contains different text sizes,
    all lines now rendered with the same leading.
    This is more consistent and allows for faster layouting.

Fixed

  • ๐Ÿ Fix compatibility with Python 3.8 and 3.9