Depends on:
- New python-Pillow: sr#1328176
- New python-tinycss2: sr#1328174
- Update to 68.0 (bsc#1256936, CVE-2025-68616):
# Security
* Always use URL fetcher for HTTP redirects
# Python API
* default_url_fetcher() is deprecated, use the new URLFetcher class
instead, see URL Fetchers for more information about URL fetchers
* DocumentMetadata.generate_rdf_metadata is now a method that can be
overridden instead of a parameter, see Factur-X / ZUGFeRD
(Electronic Invoices) for examples to create e-invoices
# Features
* #2609, #2603, #351: Refactor URL fetcher API
* #2632: Support legacy 0 value for angles
* #2627: Add font-face support to SVG
* #2646, #2255: Add font shorthand support for SVG text elements
* #2590, #1749: Honor language-specific rules for text-transform
* #2645, #2613: Improve SVG and SVG emojis rendering
* #2658, #2583: Add CLI for Factur-X / ZUGFeRD e-invoices
# Bug fixes
* #2649: Refactor URL fetcher API
* #2643, #2628: Handle box-sizing: border-box in grid layout
* #2641, #1875: Process whitespace after checking all pending targets
* #2488, #2485: Preserve page groups during layout repagination
* #2642, #2631: Don’t use isolated transparency groups
* #2637: Fix repeating radial gradients rendering
* #2622: Fix validation of colors
* #2626: Share grid items rendering advancement between a box and its copies
* #2621: Correctly handle fallback values of attr()
* #2619: Fix SVG fonts
* #2629: Always define extra skip height that may be used after
* #2648: Fix numbers validation in font-feature-settings
OBS-URL: https://build.opensuse.org/request/show/1328178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-weasyprint?expand=0&rev=21
# Security
* Always use URL fetcher for HTTP redirects
# Python API
* default_url_fetcher() is deprecated, use the new URLFetcher class
instead, see URL Fetchers for more information about URL fetchers
* DocumentMetadata.generate_rdf_metadata is now a method that can be
overridden instead of a parameter, see Factur-X / ZUGFeRD
(Electronic Invoices) for examples to create e-invoices
# Features
* #2609, #2603, #351: Refactor URL fetcher API
* #2632: Support legacy 0 value for angles
* #2627: Add font-face support to SVG
* #2646, #2255: Add font shorthand support for SVG text elements
* #2590, #1749: Honor language-specific rules for text-transform
* #2645, #2613: Improve SVG and SVG emojis rendering
* #2658, #2583: Add CLI for Factur-X / ZUGFeRD e-invoices
# Bug fixes
* #2649: Refactor URL fetcher API
* #2643, #2628: Handle box-sizing: border-box in grid layout
* #2641, #1875: Process whitespace after checking all pending targets
* #2488, #2485: Preserve page groups during layout repagination
* #2642, #2631: Don’t use isolated transparency groups
* #2637: Fix repeating radial gradients rendering
* #2622: Fix validation of colors
* #2626: Share grid items rendering advancement between a box and its copies
* #2621: Correctly handle fallback values of attr()
* #2619: Fix SVG fonts
* #2629: Always define extra skip height that may be used after
* #2648: Fix numbers validation in font-feature-settings
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=46
* #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
* #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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=44
* #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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=40
- update to 64.0:
* #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
* #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
* #2347, #2364: Improve rendering speed for text
* #2352: Add more use cases in documentation, use Furo theme
OBS-URL: https://build.opensuse.org/request/show/1244903
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-weasyprint?expand=0&rev=17
* #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
* #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
* #2347, #2364: Improve rendering speed for text
* #2352: Add more use cases in documentation, use Furo theme
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=38
* #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
* #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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=34
2024-11-05 15:37:24 +00:00
4 changed files with 234 additions and 13 deletions
oid sha256:447f40898b747cb44ac31a5d493d512e7441fd56e13f63744c099383bbf9cda9
size 1541418
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.