Subject: CVS commit: pkgsrc/print/py-weasyprint
From: Klaus Klein
Date: 2022-05-23 07:22:13
Message id: 20220523052213.690FFFAEB@cvs.NetBSD.org

Log Message:
py-weasyprint: Update to 55.0.

Version 55.0
------------

Released on 2022-05-12.

This version also includes the changes from unstable b1 version listed
below.

Bug fixes:

* Fix the vertical position and available height of absolute boxes
* Minor fixes for multi-column layout
* Don’t stop rendering SVG when CSS parsing fails
* Fix sequential footnotes that could disappear when overflowing
* Fix position of absolute boxes with right-to-left direction
* Fix relative paths for SVG files stored as data URLs

Version 55.0b1
--------------

Released on 2022-04-15.

**This version is experimental, don't use it in production. If you find bugs,
please report them!**

Dependencies:

* Python 3.7+ is now needed, Python 3.6 is not supported anymore

Features:

* Support ``word-break: break-all``
* Support column breaks
* Allow reproducible PDF generation

Bug fixes:

* Handle ``inherit`` in shorthand properties
* Space out no-repeat patterns
* Avoid invalid PDF operators when drawing SVG text
* Don’t output footnotes before their call sites
* Prevent infinite loops in multi-column layout
* Fix position of absolute boxes in right-to-left contexts
* Draw borders around absolute replaced boxes
* Fix skip stacks for columns
* Better support of nested ``text-decoration`` properties
* Fix absolute blocks in lines
* Clear adjoining margins when a container’s child doesn’t fit

Performance:

* Improve tests speed
* Improve fonts management
* Improve column layout speed
* Cache ``ch`` and ``ex`` units calculations

Version 54.3
------------

Released on 2022-04-04.

Bug fixes:

* Support position: absolute in footnotes
* Fix discarded text-align values

Version 54.2
------------

Released on 2022-02-27.

Bug fixes:

* Always store parent blocks children as lists
* Fix float rounding errors
* Ignore unknown glyphs
* Fix line break when breaks occur between a nbsp and an inline block
* Always set the child index
* Fix patterns with use tags

Version 54.1
------------

Released on 2022-01-31.

Features:

* Handle break-inside: avoid on tr tags

Bug fixes:

* Handle absolute children in running elements
* Handle invalid values in text-align
* Handle absolute flex boxes

Version 54.0
------------

Released on 2022-01-08.

This version also includes the changes from unstable b1 version listed
below.

Bug fixes:

* Always use absolute paths to get hrefs in SVG
* Fix many rendering problems of broken tables
* Fix support of fonts with SVG emojis

Version 54.0b1
--------------

Released on 2021-12-13.

**This version is experimental, don't use it in production. If you find bugs,
please report them!**

Dependencies:

* html5lib 1.1+ is now needed.

New features:

* Support footnotes, with financial support from Code & Co.
* Handle parallel flows for floats, absolutes, table-cells
* Support ``text-align-last`` and ``text-align-all`` properties
* Draw SVG and PNG emojis
* Support ``overflow-wrap: anywhere``
* Add environment variable to set DLL folder on Windows

Performance:

* Cache SVG ``use`` tags
* Encode non-JPEG images as PNGs instead of JPEG2000s

Bug fixes:

* Don’t use ``text-transform`` text for content-based uses
* Don’t serialize and parse again inline SVG files
* Correctly handle whitespaces in bookmark labels
* Fix column height with ``column-span`` content
* Fix absolutely positioned boxes in duplicated pages
* Fix ``target-counter`` attribute in flex items
* Don’t draw empty glyphs
* Don’t crash when font size is really small

Documentation:

* Fix typo

Packaging:

* The source package does not include a ``setup.py`` file anymore.

Files:
RevisionActionfile
1.36modifypkgsrc/print/py-weasyprint/Makefile
1.9modifypkgsrc/print/py-weasyprint/PLIST
1.25modifypkgsrc/print/py-weasyprint/distinfo
1.5removepkgsrc/print/py-weasyprint/patches/patch-setup.py