Releases: Kozea/WeasyPrint
Releases · Kozea/WeasyPrint
v66.0
Read about this release on our blog.
Features
- #2475: Add support for 'lh' and 'rlh' units
- #2432, #2437: Report footnotes when text overflows because of orphans, with financial support from Code & Co.
- #2256, #2466: Handle transform-origin in SVG
- #2445: Add parameter to have additional HTTP headers for url_fetcher
Bug fixes
- #2471, #2506, #2500, #2460, #2363, #2470, #1872, #2153, #1838, #1837, #1784, #1835, #2444, #2497, #2505, #2503, #1836, #2467: Improve PDF/UA support, with financial support from NLnet
- #2425, #1557: Improve position of outside markers
- #2409, #2265: Draw circles instead of rectangles when drawing dotted borders
- #2416, #2270: Correctly split words for automatic hyphenation
- #2439, #2426: Don’t rely on URL protocols outside URL fetcher function
- #2433: Disable style for deprecated outline algorithm
- #2447, #2441, #2448: Improve min- and max-content calculation, with financial support from Menutech
- #2454, #2442, #2449: Minor fixes for flex layout
- #2473, #2459: Include out-of-flow boxes in page layout progress, with financial support from Pathfindr
- #2458: Replace deprecated warn logger function
- #2494, #1856: Fix bug with bottom margins in columns
- #2435: Make footnote calls inherit from footnotes
- #2484, #2456: Allow to avoid page breaks after table-row-group elements
- #2450: Draw background and borders for relative grid containers
- #2453: Don’t advance position_y for collapsed margins of discarded children
- #2493: Fix endless loop with CSS variables referencing each other
- #2502: Ignore bottom margin when calculating footnote overflow
Contributors
- Guillaume Ayoub
- Lucie Anglade
- Alvaro Garcia Fernandez
- Emmanuel Ferdman
- Gabriel Corona
- Markus Mohanty
- Luca Vercelli
- Tre Huang
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Syslifters
- Simon Sapin
- Manuel Barkhau
- Simonsoft
- Menutech
- KontextWork
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- DocRaptor
- Yanal-Yves Fargialla
- Method B
- FieldHub
- Morntag
- Xavid
- Kai DeLorenzo
- Charlie S.
- Alan Villalobos
v65.1
Bug fixes
- #2414: Correctly handle flex columns split between pages
- 1b24ad9: Include padding in outer size of item elements
- #2419: Set main tag as block by default
- #2415: Fix support of replaced block box as flex items
- 83da2fe0: Fix margins and padding for rtl lists
- #2429, #1076, #2431: Fix page groups
Contributors
- Guillaume Ayoub
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Syslifters
- Simon Sapin
- Manuel Barkhau
- Simonsoft
- Menutech
- KontextWork
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- DocRaptor
- Yanal-Yves Fargialla
- Method B
- FieldHub
- Morntag
- Xavid
- Kai DeLorenzo
- Charlie S.
- Alan Villalobos
v65.0
Read about this release on our blog.
Dependencies
- CSSSelect2 0.8.0 is now needed
Features
- #1665: Support gap properties in Flex layout, with financial support from NLnet.
- #378, #2405: Handle
@font-face
unicode-range
- #2394: Modernize and improve default user agent stylesheets
Bug fixes
- #2362, #2387, #601, #1967, #1805, #2163, #2342, #2374, #1109, #1356, #1327, #1563, #1652, #2351, #2312, #2340, #1311, #2066, #2359, #2053: Improve Flex layout, with financial support from NLnet.
- #1686, #2404: Fix duplicate text selection with right-to-left text
- #2372, #2389: Fix justification of right-to-left text
- #2403: Fix emoji rendering with older versions of Pango
- #2392: Fix complex cases involving nested SVG text anchors
- #2396, #2398: Fix and improve font names in PDF
- #2269, #2390: Apply justification to non-breaking spaces
- #2362, #2387: Improve Flex layout, with financial support from NLnet.
Contributors
- Guillaume Ayoub
- Luca Vercelli
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Syslifters
- Simon Sapin
- Manuel Barkhau
- Simonsoft
- Menutech
- KontextWork
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- DocRaptor
- Yanal-Yves Fargialla
- Method B
- FieldHub
- Morntag
- Xavid
- Kai DeLorenzo
- Charlie S.
- Alan Villalobos
v64.1
Bug fixes
- #2368: Fix ascent and descent font values
- #2370: Avoid endless recursion for variables in nested functions
- #2275: Use correct containing block to render waiting children
- #2375: Ensure that we handle text-anchor only on text content elements
- #2090: Only create font temporary folder when adding fonts
- #2383: Fix grid-template-areas validation and allow uppercase identifiers for grid lines
Contributors
- Guillaume Ayoub
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Syslifters
- Simon Sapin
- Manuel Barkhau
- Simonsoft
- Menutech
- KontextWork
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- DocRaptor
- Yanal-Yves Fargialla
- Method B
- FieldHub
- Morntag
- Xavid
- Kai DeLorenzo
- Charlie S.
v64.0
Read about this release on our blog.
Features
- #2338: Allow custom RDF metadata for PDF/A and eInvoices
- #123, #2345: Handle small-caps synthesis
- #2343: Support outline-offset
- #2361: Support text-underline-offset and text-decoration-thickness
- #2296: Don’t crash with tables with rounded corners split between pages
Bug fixes
- #2360: Fix gradients with non-RGB colors
- #2355, #2358: Align png emojis to the surrounding text
- #2353: Fix alignment of SVG text with multiple nested text-anchor values
- #2350: Fix logging restoration in capture_logs
- #2341: Fix page groups
- #2314: Use CSS 'image-rendering' attribute for images in SVGs
- #2332: Fix opacity for translated SVG elements
- #2329: Refactor text.line_break.get_log_attrs
- #2325, #2326: Fix table overflow edge cases
Performance
Documentation
- #2352: Add more use cases in documentation, use Furo theme
Contributors
- Guillaume Ayoub
- Kesara Rathnayake
- Xavid Pretzer
- David Tagatac
- Ernesto Ruge
- Niko Abeler
- Noam Kushinsky
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Syslifters
- Simon Sapin
- Manuel Barkhau
- Simonsoft
- Menutech
- KontextWork
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- DocRaptor
- Yanal-Yves Fargialla
- Method B
- FieldHub
- Morntag
- Xavid
- Kai DeLorenzo
- Charlie S.
v63.1
Dependencies
- #2297: Remove upper bounds for dependencies
Bug fixes
- #2300, #2292: Don’t avoid floats for flex items
- #2301, #2293: Include floats in calculation of minimum cell height
- #2303, #2302: Set alpha even when current color channels didn’t change
- #2306: Don’t try to increase column width when there’s no extra width
- #2304: Don’t forget skip stack when drawing flex items
- #2316: Don’t crash with SVG symbols
- #2320: Fix currentcolor detection when parsing gradient color stops
- #2322, #2289: Don’t add DLL directories when using Windows executable
- #2323, #2305: Fix different rendering test
Performance
- #2319: Fix memory leaks
Documentation
- #2299: Update install instructions for Alpine
- #2321: Add example invocation of WeasyPrint on the "Contribute" page
Contributors
- Guillaume Ayoub
- Jó Ágila Bitsch
- Lucie Anglade
- Alexander Gitter
- Luke Cousins
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Syslifters
- Manuel Barkhau
- SimonSoft
- Menutech
- KontextWork
- Simon Sapin
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- Advance Insight
- Docraptor
- Method B
- FieldHub
- Yanal-Yvez Fargialla
- Morntag
- Xavid
v63.0
Read about this release on our blog.
Dependencies
- Python 3.13 is now supported
- pydyf 0.11.0+ is now needed
- tinycss2 1.4.0+ is now needed
- tinyhtml5 2.0.0+ is now needed, instead of html5lib
Features
- #2252, #895: Handle page groups, with financial support from Code & Co.
- #1630, #2286: Support CSS Color Level 4
- #2192: Add PDF variant for debugging purpose
- #2208: Support submit inputs in PDF forms
- #2139: Support
mask-border-*
properties - #1831, #2143: Support radio inputs in PDF forms
Bug fixes
- #2262: Avoid integer overflows when converting units from/to doubles
- #2260: Avoid float collision with box establishing formatting context
- #2240, #2242: Handle
svg
tags with no size - #2231, #1171, #2222, #1208: Fix several problems related to
flex-direction: column
- #2239: Don’t fail when SVG markers are undefined references
- #2230, #2238: Set explicit flags when loading DLLs on Windows
- #2228, #1942: Store original and PDF stream images in different cache slots
- #2234: Apply stylesheet and other basic operations to SVG root tag
- #2054, #2233: Keep auto margins on flex layout boxes
- #1883: Don’t crash with empty list marker strings
- #2216: Fix vertical alignment of out-of-flow elements in tables
- #996, #2219: Don’t ignore absolutely positioned elements inside flex boxes
- #2217: Don’t crash with
normal
column gaps - #1817: Don’t assume that lines break after spaces
- #1868: Don’t break rows with atomic cells
- #2166: Don’t display bottom border on cells in split rows
- 61852c4: Capture fontTools logs when subsetting fonts
- #2190: Don’t use a pattern when drawing backgrounds for no-repeat background images
- #2185: Check that Harfbuzz version is at least 4.1.0 to subset fonts
- #2180: Store width for all glyphs when font is not subset
- #2183: Respect
break-inside: avoid
for flex items - #2055, #2058: Fix right-to-left tables with collapsed borders
- #2179, #1128: Handle buggy Adobe Photoshop CMYK JPEGs
- #2175: Don’t compress PDF metadata for PDF/A-1
- #2174: Fix extra width distribution for auto table layout
Performance
- #1155: Improve rendering speed for large colspan values
- #2120, #2178: Use Harfbuzz to subset fonts by default
Documentation
- #2282, #2284: Simplify Alpine install instructions
- #2254: Add warning about antivirus false detection
- #2220: Add extra information to debug logs
- #2211: Fix link to samples
- #2195: Update cache argument documentation
- #2105, #2151: Use MSYS2 instead of GTK+3 for Windows
Contributors
- Guillaume Ayoub
- David Huggins-Daines
- Xavid Pretzer
- Yann Trividic
- Kevin Kays
- Alejandro Avilés
- Gianluca Teti
- Gregory Goodson
- Lucie Anglade
- Roman Sirokov
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Syslifters
- Manuel Barkhau
- SimonSoft
- Menutech
- KontextWork
- Simon Sapin
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- Advance Insight
- Docraptor
- Method B
- FieldHub
- Yanal-Yvez Fargialla
- Morntag
- Xavid
v62.3
Bug fixes
- #2174: Fix extra width distribution for auto table layout
- #2175: Don’t compress PDF metadata for PDF/A-1
- 61f8bb3: Set default PDF variant values in options before generating PDF
- 2c4351e: Avoid PDF artifacts when drawing 0-width borders
- d9d7f62: Don’t duplicate column when container is split on multiple pages
- 4617b94: Don’t set default Fontconfig values for unset properties
- 4c81663: Fix layout when all footnotes are removed from the footnote area
- #2184: Make items overflowing grid wrap to the next row/column
- #2187: Don’t append useless tracks when grid elements are positioned
Contributors
- Guillaume Ayoub
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Manuel Barkhau
- SimonSoft
- Menutech
- KontextWork
- Simon Sapin
- René Fritz
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- Docraptor
- Yanal-Yvez Fargialla
- Douwe van Loenen
- Morntag
- Xavid
v62.2
Features
Bug fixes
- #2167: Fix space added by CSS gap at the end
- #2134: Remove absolute placeholders from discarded content
- #2154: Don’t crash when grid items have auto margins
- 8cdd66f: Fix CSS nesting for nested selectors with comma
- 3359db5: Fix and test grid shorthand
- 82deda4: Fix wrong resume_at for split floats
- ff2acf1: Ensure that gradient size is positive to please some PDF readers
Contributors
- Guillaume Ayoub
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Manuel Barkhau
- SimonSoft
- Menutech
- KontextWork
- Simon Sapin
- René Fritz
- TrainingSparkle
- Healthchecks.io
- Hammerbacher
- Docraptor
- Yanal-Yvez Fargialla
- Douwe van Loenen
- Morntag
- Xavid
v62.1
Bug fixes
- #2144, #2149: Avoid broken fonts when generating multiple documents
- c10c689: Display at least one grid row on empty pages
- #2146: Don’t crash when flex container’s parent’s height is auto
Contributors
- Guillaume Ayoub
- Claudius Ellsel
Backers and sponsors
- Spacinov
- Kobalt
- Grip Angebotssoftware
- Manuel Barkhau
- SimonSoft
- Menutech
- KontextWork
- Simon Sapin
- René Fritz
- TrainingSparkle
- Healthchecks.io
- Docraptor
- Yanal-Yvez Fargialla
- Douwe van Loenen
- Morntag
- Xavid