From 6af831cb73eb39b35c37d1e0804d19b2a7c7a01aaa3cd9a876072297b9e3a3f2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 10 Jan 2022 20:14:34 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=2054.0:=20=20=20-=20Always=20us?= =?UTF-8?q?e=20absolute=20paths=20to=20get=20hrefs=20in=20SVG=20=20=20-=20?= =?UTF-8?q?Fix=20many=20rendering=20problems=20of=20broken=20tables=20=20?= =?UTF-8?q?=20-=20Fix=20support=20of=20fonts=20with=20SVG=20emojis=20=20?= =?UTF-8?q?=20-=20html5lib=201.1+=20is=20now=20needed.=20=20=20-=20Support?= =?UTF-8?q?=20footnotes,=20with=20financial=20support=20from=20Code=20&=20?= =?UTF-8?q?Co.=20=20=20-=20Handle=20parallel=20flows=20for=20floats,=20abs?= =?UTF-8?q?olutes,=20table-cells=20=20=20-=20Support=20``text-align-last``?= =?UTF-8?q?=20and=20``text-align-all``=20properties=20=20=20-=20Draw=20SVG?= =?UTF-8?q?=20and=20PNG=20emojis=20=20=20-=20Support=20``overflow-wrap:=20?= =?UTF-8?q?anywhere``=20=20=20-=20Cache=20SVG=20``use``=20tags=20=20=20-?= =?UTF-8?q?=20Encode=20non-JPEG=20images=20as=20PNGs=20instead=20of=20JPEG?= =?UTF-8?q?2000s=20=20=20-=20Don=E2=80=99t=20use=20``text-transform``=20te?= =?UTF-8?q?xt=20for=20content-based=20uses=20=20=20-=20Don=E2=80=99t=20ser?= =?UTF-8?q?ialize=20and=20parse=20again=20inline=20SVG=20files=20=20=20-?= =?UTF-8?q?=20Correctly=20handle=20whitespaces=20in=20bookmark=20labels=20?= =?UTF-8?q?=20=20-=20Fix=20column=20height=20with=20``column-span``=20cont?= =?UTF-8?q?ent=20=20=20-=20Fix=20absolutely=20positioned=20boxes=20in=20du?= =?UTF-8?q?plicated=20pages=20=20=20-=20Fix=20``target-counter``=20attribu?= =?UTF-8?q?te=20in=20flex=20items=20=20=20-=20Don=E2=80=99t=20draw=20empty?= =?UTF-8?q?=20glyphs=20=20=20-=20Don=E2=80=99t=20crash=20when=20font=20siz?= =?UTF-8?q?e=20is=20really=20small?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-weasyprint?expand=0&rev=10 --- python-weasyprint.changes | 24 ++++++++++++++++++++++++ python-weasyprint.spec | 4 ++-- weasyprint-53.4.tar.gz | 3 --- weasyprint-54.0.tar.gz | 3 +++ 4 files changed, 29 insertions(+), 5 deletions(-) delete mode 100644 weasyprint-53.4.tar.gz create mode 100644 weasyprint-54.0.tar.gz diff --git a/python-weasyprint.changes b/python-weasyprint.changes index 0dee7d7..4208522 100644 --- a/python-weasyprint.changes +++ b/python-weasyprint.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Mon Jan 10 20:04:52 UTC 2022 - Matej Cepl + +- 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 + ------------------------------------------------------------------- Wed Dec 22 23:52:20 UTC 2021 - Marcus Rueckert diff --git a/python-weasyprint.spec b/python-weasyprint.spec index c954b98..0c0d960 100644 --- a/python-weasyprint.spec +++ b/python-weasyprint.spec @@ -1,7 +1,7 @@ # # spec file for package python-weasyprint # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %define skip_python36 1 Name: python-weasyprint -Version: 53.4 +Version: 54.0 Release: 0 Summary: Python module to convert web documents to PDF License: BSD-3-Clause diff --git a/weasyprint-53.4.tar.gz b/weasyprint-53.4.tar.gz deleted file mode 100644 index 0b7797b..0000000 --- a/weasyprint-53.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:10ccb17d55c73096bdf1edd3efe58cb855b07e4c307d9bad4ebc9a3f13ff4580 -size 388163 diff --git a/weasyprint-54.0.tar.gz b/weasyprint-54.0.tar.gz new file mode 100644 index 0000000..5127bfc --- /dev/null +++ b/weasyprint-54.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0aeda9a045c7881289420cac917cc57115b1243e476187338e66d593dd000853 +size 402453