Weasyprint

Latest version: v62.1

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

Scan your dependencies

Page 6 of 10

53.1

Bug fixes

* 1409: Don’t crash when leaders are in floats
* 1414: Embed images once
* 1417: Fix crash with SVG intrinsic ratio

Documentation

* 1420: Remove `make_bookmark_tree` from documentation
* 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-Yvez Fargialla

53.0

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

Read about this release [on our blog](https://www.courtbouillon.org/blog/00009-weasyprint-53-what-s-new).

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: Support basic "clipPath" in SVG

Bug fixes

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

Documentation

* 1391, 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-Yvez Fargialla
* Yevhenii Hyzyla

53.0b2

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

New features

* 359: Embed full sets of fonts in PDF

Bug fixes

* 1345: Fix position of SVG use tags
* 1346: Handle "stroke-dasharray: none"
* 1352, 1358: Sort link target identifiers
* 1357: Fix font information
* 1362: Handle visibility and display properties in SVG
* 1365: Cascade inherited attributes for use tags
* 1366: Correctly handle style attributes in SVG
* 1367: Include line stroke in box bounding

Documentation

* 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-Yvez Fargialla
* Yevhenii Hyzyla

53.0b1

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

This version uses its own PDF generator instead of Cairo. Rendering may be different for text, gradients, SVG images…

New features

* 1328: Add ISO and JIS paper sizes
* 1309: Leader support, with financial support from Simonsoft

Bug fixes

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

Documentation

* 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-Yvez Fargialla
* Des images et des mots
* Yevhenii Hyzyla

52.5

Bug fixes

* 1336: Fix text breaking exception
* 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-Yvez Fargialla
* Des images et des mots
* Yevhenii Hyzyla

52.4

Bug fixes

- 1304: Don’t try to draw SVG files with no size
- ece5f066: Avoid crash on last word detection
- 4ee42e48: Remove last word before ellipses when hyphenated

Contributors

- Guillaume Ayoub

Backers and sponsors

- PDF Blocks
- Simonsoft
- Menutech
- Simon Sapin
- Manuel Barkhau
- Andreas Zettl
- Nathalie Gutton
- Tom Pohl
- René Fritz
- Moritz Mahringer
- Florian Demmer
- KontextWork
- Michele Mostarda

Page 6 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.