14
0

24 Commits

Author SHA256 Message Date
198094bae9 - Update to 65.1
* #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
- Bump cssselect2_min_version to 0.8.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=42
2025-05-20 14:46:05 +00:00
991064406a Accepting request 1250341 from home:glaubitz:branches:devel:languages:python
- Update to 64.1
  * #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/request/show/1250341
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=40
2025-03-10 18:49:06 +00:00
4c317628cc - 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/package/show/devel:languages:python/python-weasyprint?expand=0&rev=38
2025-02-10 21:55:36 +00:00
6679320109 Accepting request 1224805 from home:nkrapp:branches:devel:languages:python
- Fix runtime requirements (bsc#1233406)

OBS-URL: https://build.opensuse.org/request/show/1224805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=36
2024-11-18 13:46:40 +00:00
a059df5bad Accepting request 1221470 from home:glaubitz:branches:devel:languages:python
- Update to 63.0
  * #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/request/show/1221470
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
4d8b147576 - update to 62.3:
* #2174: Fix extra width distribution for auto table layout
  * #2175: Don’t compress PDF metadata for PDF/A-1
  * Set default PDF variant values in options before
    generating PDF
  * Avoid PDF artifacts when drawing 0-width borders
  * Don’t duplicate column when container is split on
    multiple pages
  * Don’t set default Fontconfig values for unset
    properties
  * Fix layout when all footnotes are removed from the
    footnote area
  * Make items overflowing grid wrap to the next
    row/column
  * Don’t append useless tracks when grid elements are
    positioned

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=32
2024-06-30 08:16:49 +00:00
ae3cff2334 - update to 62.2:
* #2142, #2162: Support grid-auto-flow: column, with financial
    support from Menutech
  * #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
  * #2144, #2149: Avoid broken fonts when generating multiple
    documents
  * c10c6892: Display at least one grid row on empty pages
  * #2146: Don’t crash when flex container’s parent’s height is
    auto
  * Python 3.9+ is now needed, Python 3.7 and 3.8 are not
    supported anymore
  * pydyf 0.10.0+ is now needed
  * tinycss2 1.3.0+ is now needed
  * Features:
  * #543, #2121: Support CSS Grid layout
  * #2124, #2125: Support border-image-* properties
  * #2084, #2077: Support CSS nesting
  * #2101: Support HTML maxlength attribute for form fields
  * #2095: Apply overflow to replaced boxes
  * 245e4f5: Add support of PDF/A-?u
  * Bug fixes:
  * #2136: Don’t clip aligned text in SVG
  * #2135: Allow column-direction flex containers to use
    percentage-based heights

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=30
2024-06-10 10:00:45 +00:00
ad268d87d7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=28 2024-03-16 16:26:13 +00:00
de6088c6b2 - update to 61.2:
* Security:
    * Always use URL fetcher for attachments
  * #2075: Use default value when variable is not defined
  * #2070: Don’t crash when rendering SVGs with non-text a
    children
  * Don’t crash when SVG file can’t be rendered
  * Documentation:
  * #2067: Suggest "dnf" instead of "yum" to install Fedora
    packages
  * Improve documentation for Windows
  * Fix required version of TinyCSS2
  * #1219, #2017: Support var() in shorthand and multiple-value
    functions
  * #1986: Support percentages for opacity
  * #2050: Build executable file for Windows
  * #2000: Support select fields
  * #1993: Handle background-attachment: fixed to cover the whole
    page
  * #2023, #2022: Allow text-based file objects for HTML and CSS
    classes
  * #2014: Remove warnings for PDF/A and PDF/UA compatibility
  * Bug fixes:
  * #2052, #1869: Handle attachments for PDF/A documents
  * #2013, #2051: Apply margin to running tables
  * #1278, #1884: Draw collapsed borders of running tables
  * #2029: Fix page counter in non-root absolute boxes
  * #2043: Fix text-anchor on SVG tspan elements
  * #1968, #2039: Use cell's border-height to calculate table row
    height

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=27
2024-03-16 16:23:27 +00:00
4e38865278 - Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=25
2024-01-11 11:06:14 +00:00
d20256b0c9 - update to 60.2:
* Fix SVG markers size, position and drawing
  * Draw background behind absolutely positioned replaced boxes
  * Don’t crash with bitmap fonts with no "glyf" table
  * Improve SVG text-anchor attribute
  * Fix crash caused by wrong UTF-8 indices
  * Print form fields
  * Add support for textLength and lengthAdjust in SVG text
    elements
  * Handle <wbr> tag
  * Handle y offset of glyphs
  * Add a --timeout option
  * Bug fixes:
  * Fix footnote-call displayed incorrectly for some fonts
  * Fix page-margin boxes layout algorithm
  * Fix IndexError when rendering PDF version 1.4
  * Apply text transformations to first-letter pseudo elements
  * Avoid footnote appearing before its call
  * Fix balance before "column-span: all"
  * Only draw required glyph with OpenType-SVG fonts
  * Don’t draw clipPath when defined after reference
  * Don’t ignore min-width when computing cell size
  * Fix named pages inheritance
  * Avoid page breaks caused by children of overflow hidden boxes
  * Use bleed area for page’s painting area
  * Use margin box of children to define available width for
    leaders
- Update to version 56.1
- Update to 55.0
- enable all tests after upgrade of tinycss2 to 1.1.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=23
2023-12-29 10:21:08 +00:00
af13de7e1d Accepting request 1093113 from home:darix:apps
- instead of having to maintain version information in multiple
  places refactor them out into defines for easier maintenance
- switch to autosetup

OBS-URL: https://build.opensuse.org/request/show/1093113
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=21
2023-06-19 13:33:01 +00:00
165016c07e - Update to 59.0:
* New features:
    + a4fc7a1: Support image-orientation
  * Dependencies:
    + #1754: Pillow 9.1.0 is now needed
  * Bug fixes:
    + #1864: Handle overflow for svg and symbol tags in SVG images
    + #1867: Remove duplicate compression of attachments
    + d0ad5c1: Override use tag children instead of drawing their references
    + #1874: Drawn underline and overline behind text
    + #1822, #1823: Fix vertical positioning for absolute replaced elements
    + #1807: Don’t crash when out-of-flow box is split in out-of-flow parent
    + #1806: Don’t crash when fixed elements aren’t displayed yet in
      aborted line
    + #1809: Fix background drawing for out-of-the-page transformed boxes
    + #1764: Use reference instead of stream for annotation appearance stream
    + #1783: Fix multiple font weights for @font-face declarations
    + #1756: Fix rem font size for SVG images
    + #1755: Keep format when transposing images
    + #1753: Don’t use deprecated read_text function when files is available
    + #1741: Generate better manpage
    + #1747: Correctly set target counters in pages’ absolute elements
    + #1748: Always set font size when font is changed in line
    + #1739: Set baseline on all flex containers
    + #1740: Don’t crash when currentColor is set on root svg tag
    + #1718: Don’t crash with empty bitmap glyphs
    + #1736: Always use the font’s vector variant when possible
    + #1662: Use a stable key to store stream fonts
    + #1733: Don’t remove attachments when adding internal anchors
  * Performance:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=19
2023-06-14 04:45:53 +00:00
e45cde1bc7 fix the link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=16
2022-09-08 15:13:59 +00:00
a023f64d24 Accepting request 1001051 from home:kfreitag:branches:devel:languages:python
-  Update to version 56.1

OBS-URL: https://build.opensuse.org/request/show/1001051
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=15
2022-09-08 14:52:57 +00:00
11b6b37c25 gh#Kozea/WeasyPrint#1502
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=13
2022-05-16 11:58:42 +00:00
1a13bd0fb7 we don't multibuild python36 anymore, now it is made unresolvable by python-base >= 3.7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=12
2022-05-16 11:46:54 +00:00
6abfd8ac90 Accepting request 977510 from home:darix:apps
- Update to 55.0

OBS-URL: https://build.opensuse.org/request/show/977510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=11
2022-05-16 11:43:15 +00:00
6af831cb73 - Update to 54.0:
- Always use absolute paths to get hrefs in SVG
  - Fix many rendering problems of broken tables
  - Fix support of fonts with SVG emojis
  - html5lib 1.1+ is now needed.
  - Support footnotes, with financial support from Code & Co.
  - Handle parallel flows for floats, absolutes, table-cells
  - Support ``text-align-last`` and ``text-align-all`` properties
  - Draw SVG and PNG emojis
  - Support ``overflow-wrap: anywhere``
  - Cache SVG ``use`` tags
  - Encode non-JPEG images as PNGs instead of JPEG2000s
  - Don’t use ``text-transform`` text for content-based uses
  - Don’t serialize and parse again inline SVG files
  - Correctly handle whitespaces in bookmark labels
  - Fix column height with ``column-span`` content
  - Fix absolutely positioned boxes in duplicated pages
  - Fix ``target-counter`` attribute in flex items
  - Don’t draw empty glyphs
  - Don’t crash when font size is really small

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=10
2022-01-10 20:14:34 +00:00
e34554a966 Accepting request 942271 from home:darix:apps
- port to the pyproject build to get the commandline for weasyprint
  back (boo#1194029)

OBS-URL: https://build.opensuse.org/request/show/942271
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=9
2021-12-26 20:27:22 +00:00
a5b757d6dd Accepting request 940875 from home:bnavigator:branches:devel:languages:python
- Skip python36 build: FontTools dropped support
- Update test and runtime requirements

OBS-URL: https://build.opensuse.org/request/show/940875
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=8
2021-12-17 21:10:54 +00:00
1032becdad Accepting request 936285 from home:pgajdos:python
- do not require pytest-runner for build, it is not needed

OBS-URL: https://build.opensuse.org/request/show/936285
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=7
2021-12-07 16:04:00 +00:00
e44b0e6d57 Fix URL of Source
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=5
2021-11-22 16:09:39 +00:00
62626e4ab8 Remove link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=4
2021-11-22 15:46:32 +00:00