Weasyprint

Latest version: v65.0

Safety actively analyzes 723685 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 17

53.2

------------

Released on 2021-08-27.

New features:

* `1428 <https://github.com/Kozea/WeasyPrint/issues/1428>`_:
Re-add the ``make_bookmark_tree()`` method

Bug fixes:

* `1429 <https://github.com/Kozea/WeasyPrint/issues/1429>`_:
Fix package deployed on PyPI

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Grip Angebotssoftware
* PDF Blocks
* SimonSoft
* Menutech
* Manuel Barkhau
* Simon Sapin
* KontextWork
* René Fritz
* Maykin Media
* NCC Group
* Des images et des mots
* Andreas Zettl
* Nathalie Gutton
* Tom Pohl
* Moritz Mahringer
* Florian Demmer
* Yanal-Yves Fargialla

53.1

------------

Released on 2021-08-22.

Bug fixes:

* `1409 <https://github.com/Kozea/WeasyPrint/issues/1409>`_:
Don’t crash when leaders are in floats
* `1414 <https://github.com/Kozea/WeasyPrint/issues/1414>`_:
Embed images once
* `1417 <https://github.com/Kozea/WeasyPrint/issues/1417>`_:
Fix crash with SVG intrinsic ratio

Documentation:

* `1422 <https://github.com/Kozea/WeasyPrint/issues/1422>`_:
Include ``weasyprint.tools`` removal in documentation

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Grip Angebotssoftware
* PDF Blocks
* SimonSoft
* Menutech
* Manuel Barkhau
* Simon Sapin
* KontextWork
* René Fritz
* Maykin Media
* NCC Group
* Des images et des mots
* Andreas Zettl
* Nathalie Gutton
* Tom Pohl
* Moritz Mahringer
* Florian Demmer
* Yanal-Yves Fargialla

53.0

------------

Released on 2021-07-31.

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.
* ``Document.resolve_links``, ``Document.make_bookmark_tree`` and
``Document.add_hyperlinks`` have been removed.

Performance:

* Improve image management

New features:

* `1374 <https://github.com/Kozea/WeasyPrint/issues/1374>`_:
Support basic "clipPath" in SVG

Bug fixes:

* `1369 <https://github.com/Kozea/WeasyPrint/issues/1369>`_:
Render use path in SVG
* `1370 <https://github.com/Kozea/WeasyPrint/issues/1370>`_:
Fix fill color on use path in SVG
* `1371 <https://github.com/Kozea/WeasyPrint/issues/1371>`_:
Handle stroke-opacity and fill-opacity
* `1378 <https://github.com/Kozea/WeasyPrint/issues/1378>`_:
Fix crash with borders whose widths are in em
* `1394 <https://github.com/Kozea/WeasyPrint/issues/1394>`_:
Fix crash on draw_pattern
* `880 <https://github.com/Kozea/WeasyPrint/issues/880>`_:
Handle stacking contexts put in contexts by previous generations
* `1386 <https://github.com/Kozea/WeasyPrint/issues/1386>`_:
Catch font subsetting errors
* `1403 <https://github.com/Kozea/WeasyPrint/issues/1403>`_:
Fix how x and y attributes are handled in SVG
* `1399 <https://github.com/Kozea/WeasyPrint/issues/1399>`_,
`1401 <https://github.com/Kozea/WeasyPrint/pull/1401>`_:
Don’t crash when use tags reference non-existing element
* `1393 <https://github.com/Kozea/WeasyPrint/issues/1393>`_:
Handle font collections
* `1408 <https://github.com/Kozea/WeasyPrint/issues/1408>`_:
Handle x and y attributes in use tags

Documentation:

* `1391 <https://github.com/Kozea/WeasyPrint/issues/1391>`_,
`1405 <https://github.com/Kozea/WeasyPrint/pull/1405>`_:
Add documentation for installation

Contributors:

* Guillaume Ayoub
* Lucie Anglade
* Pelle Bo Regener
* aschmitz
* John Jackson
* Felix Schwarz
* Syrus Dark
* Christoph Päper

Backers and sponsors:

* OpenEdition
* Grip Angebotssoftware
* Simonsoft
* PDF Blocks
* Menutech
* Manuel Barkhau
* print-css.rocks
* Simon Sapin
* KontextWork
* René Fritz
* Maykin Media
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* NCC Group
* Moritz Mahringer
* Florian Demmer
* Des images et des mots
* Mohammed Y. Alnajdi
* Yanal-Yves Fargialla
* Yevhenii Hyzyla

53.0b2

--------------

Released on 2021-05-30.

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

New features:

* `359 <https://github.com/Kozea/WeasyPrint/issues/359>`_:
Embed full sets of fonts in PDF

Bug fixes:

* `1345 <https://github.com/Kozea/WeasyPrint/issues/1345>`_:
Fix position of SVG use tags
* `1346 <https://github.com/Kozea/WeasyPrint/pull/1346>`_:
Handle "stroke-dasharray: none"
* `1352 <https://github.com/Kozea/WeasyPrint/issues/1352>`_,
`1358 <https://github.com/Kozea/WeasyPrint/pull/1358>`_:
Sort link target identifiers
* `1357 <https://github.com/Kozea/WeasyPrint/issues/1357>`_:
Fix font information
* `1362 <https://github.com/Kozea/WeasyPrint/issues/1362>`_:
Handle visibility and display properties in SVG
* `1365 <https://github.com/Kozea/WeasyPrint/issues/1365>`_:
Cascade inherited attributes for use tags
* `1366 <https://github.com/Kozea/WeasyPrint/issues/1366>`_:
Correctly handle style attributes in SVG
* `1367 <https://github.com/Kozea/WeasyPrint/issues/1367>`_:
Include line stroke in box bounding

Documentation:

* `1341 <https://github.com/Kozea/WeasyPrint/pull/1341>`_:
Fix typos

Contributors:

* Guillaume Ayoub
* aschmitz
* John Jackson
* Lucie Anglade
* Pelle Bo Regener

Backers and sponsors:

* OpenEdition
* print-css.rocks
* Simonsoft
* PDF Blocks
* Menutech
* Manuel Barkhau
* Simon Sapin
* Grip Angebotssoftware
* KontextWork
* René Fritz
* Nathalie Gutton
* Andreas Zettl
* Tom Pohl
* Maykin Media
* Moritz Mahringer
* Florian Demmer
* Mohammed Y. Alnajdi
* NCC Group
* Des images et des mots
* Yanal-Yves Fargialla
* Yevhenii Hyzyla

53.0b1

--------------

Released on 2021-04-22.

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

Dependencies:

* This version uses its own PDF generator instead of Cairo. Rendering may be
different for text, gradients, SVG images…
* Packaging is now done with Flit.

New features:

* `1328 <https://github.com/Kozea/WeasyPrint/pull/1328>`_:
Add ISO and JIS paper sizes
* `1309 <https://github.com/Kozea/WeasyPrint/pull/1309>`_:
Leader support, with financial support from Simonsoft

Bug fixes:

* `504 <https://github.com/Kozea/WeasyPrint/issues/504>`_:
Fix rendering bugs with PDF gradients
* `606 <https://github.com/Kozea/WeasyPrint/issues/606>`_:
Fix rounding errors on PDF dimensions
* `1264 <https://github.com/Kozea/WeasyPrint/issues/1264>`_:
Include witdh/height when calculating auto margins of absolute boxes
* `1191 <https://github.com/Kozea/WeasyPrint/issues/1191>`_:
Don’t try to get an earlier page break between columns
* `1235 <https://github.com/Kozea/WeasyPrint/issues/1235>`_:
Include padding, border, padding when calculating inline-block width
* `1199 <https://github.com/Kozea/WeasyPrint/issues/1199>`_:
Fix kerning issues with small fonts

Documentation:

* `1298 <https://github.com/Kozea/WeasyPrint/pull/1298>`_:
Rewrite documentation

Contributors:

* Guillaume Ayoub
* Lucie Anglade
* Felix Schwarz
* Syrus Dark
* Christoph Päper

Backers and sponsors:

* Simonsoft
* PDF Blocks
* Menutech
* Manuel Barkhau
* Simon Sapin
* Nathalie Gutton
* Andreas Zettl
* René Fritz
* Tom Pohl
* KontextWork
* Moritz Mahringer
* Florian Demmer
* Maykin Media
* Yanal-Yves Fargialla
* Des images et des mots
* Yevhenii Hyzyla

52.5

------------

Released on 2021-04-17.

Bug fixes:

* `1336 <https://github.com/Kozea/WeasyPrint/issues/1336>`_:
Fix text breaking exception
* `1318 <https://github.com/Kozea/WeasyPrint/issues/1318>`_:
Fix font-face rules with Pango 1.48.3+

Contributors:

* Guillaume Ayoub

Backers and sponsors:

* Simonsoft
* PDF Blocks
* Menutech
* Manuel Barkhau
* Simon Sapin
* Nathalie Gutton
* Andreas Zettl
* René Fritz
* Tom Pohl
* KontextWork
* Moritz Mahringer
* Florian Demmer
* Maykin Media
* Yanal-Yves Fargialla
* Des images et des mots
* Yevhenii Hyzyla

Page 7 of 17

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.