v53.0
This version also includes the changes from unstable b1 and b2 versions listed below.
Read about this release on our blog.
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 theweasyprint.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
, allowingimages
,fonts
,all
andnone
values.weasyprint.tools
have been removed.Document.resolve_links
,Document.make_bookmark_tree
andDocument.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
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