Subject: CVS commit: pkgsrc/print/py-weasyprint
From: Adam Ciarcinski
Date: 2021-11-19 22:53:29
Message id: 20211119215329.90AF8FAEC@cvs.NetBSD.org

Log Message:
py-weasyprint: updated to 53.4

Version 53.4
------------
Bug fixes:
* Fix background on pages with a bleed property
* Use SVG width/height as inner size when no viewBox is given
* Only enable letter- and word-spacing when needed
* Don’t display inputs with "hidden" type
* Allow quotes in url() syntax for SVG,
* Use better approximations for font ascent and descent values in SVG
* Fix images embedded from multiple pages
* Use a better hash for fonts to avoid collisions
* Set SVG ratio when width and height are 0

Version 53.3
------------
Bug fixes:
* Fix crashes and malformed PDF files
* Handle cx and cy in SVG rotations
* Fix marker-start being drawn on mid vertices

Version 53.2
------------
New features:
* Re-add the ``make_bookmark_tree()`` method

Bug fixes:
* Fix package deployed on PyPI

Version 53.1
------------
Bug fixes:
* Don’t crash when leaders are in floats
* Embed images once
* Fix crash with SVG intrinsic ratio

Documentation:
* Include ``weasyprint.tools`` removal in documentation

Version 53.0
------------
This version also includes the changes from unstable b1 and b2 versions listed
below.

Dependencies:

* Pango 1.44.0+ is now needed.
* pydyf 0.0.3+ is now needed.
* fontTools 4.0.0+ is now needed.
* html5lib 1.0.1+ is now needed.

API changes:
* ``FontConfiguration`` is now in the ``weasyprint.text.fonts`` module.
* ``--format`` and ``--resolution`` options have been deprecated, PDF is the
  only output format supported.
* ``--optimize-images`` option has been deprecated and replaced by
  ``--optimize-size``, allowing ``images``, ``fonts``, ``all`` and ``none``
  values.
* ``weasyprint.tools`` have been removed.

Performance:
* Improve image management

New features:
* Support basic "clipPath" in SVG

Bug fixes:
* Render use path in SVG
* Fix fill color on use path in SVG
* Handle stroke-opacity and fill-opacity
* Fix crash with borders whose widths are in em
* Fix crash on draw_pattern
* Handle stacking contexts put in contexts by previous generations
* Catch font subsetting errors
* Fix how x and y attributes are handled in SVG
* Don’t crash when use tags reference non-existing element
* Handle font collections
* Handle x and y attributes in use tags

Documentation:
* Add documentation for installation

Files:
RevisionActionfile
1.31modifypkgsrc/print/py-weasyprint/Makefile
1.8modifypkgsrc/print/py-weasyprint/PLIST
1.24modifypkgsrc/print/py-weasyprint/distinfo
1.5addpkgsrc/print/py-weasyprint/patches/patch-setup.py