1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-09-19 08:27:33 +03:00
Commit Graph

5320 Commits

Author SHA1 Message Date
Guillaume Ayoub
4b28713ee4 Version 61.1 2024-02-26 13:51:36 +01:00
Guillaume Ayoub
61fb3c933e Improve documentation for Windows 2024-02-26 13:41:17 +01:00
Guillaume Ayoub
00b647dc68 Don’t update tinycss2 required version yet! 2024-02-17 12:47:53 +01:00
Guillaume Ayoub
6298754bae Update required version of tinycss2 2024-02-17 12:46:29 +01:00
Guillaume Ayoub
3469118d31 Fix more text-anchor cases 2024-02-16 21:59:21 +01:00
Guillaume Ayoub
9405a84d59 Use default value when variable is not defined
Fix #2075.
2024-02-16 10:58:40 +01:00
Lucie Anglade
a42c406f74 Add documentation about Windows executable 2024-02-14 17:51:13 +01:00
Guillaume Ayoub
812e1946ec Don’t crash when rendering SVGs with non-text a children
Related to #2030. Fix #2070.
2024-02-13 22:40:37 +01:00
Guillaume Ayoub
b6d07b8ced Don’t crash when SVG file can’t be rendered
Related to #2070.
2024-02-13 22:40:37 +01:00
Guillaume Ayoub
50e9eb6c0d
Merge pull request #2067 from FelixSchwarz/fedora-yum
suggest "dnf" instead of "yum" to install Fedora packages
2024-02-13 07:06:12 +01:00
Felix Schwarz
92b040ce5d docs: suggest "dnf" instead of "yum" to install Fedora packages 2024-02-12 22:16:08 +01:00
Guillaume Ayoub
879bfedea4 Typo in changelog 2024-02-12 11:06:46 +01:00
Guillaume Ayoub
78861efc57 Version 61.0 2024-02-12 10:59:33 +01:00
Guillaume Ayoub
586998ea8d Fix PDF format of attachment creation and modification dates
Fix #2064.
2024-02-12 10:41:28 +01:00
Guillaume Ayoub
f85a09eb10
Merge pull request #2063 from kesara/fix/attachment-hash
Get correct checksum for attachments
2024-02-12 10:14:10 +01:00
Kesara Rathnayake
5d95ed4503
Get correct checksum for attachments 2024-02-12 20:29:52 +13:00
Guillaume Ayoub
8aecf38534
Merge pull request #1869 from timoramsauer/pdfa3
PDF attachments are not PDF/A-3 compliant
2024-02-08 17:38:42 +01:00
Guillaume Ayoub
36e1575a62
Merge pull request #2059 from kygoh/master
Test bidirectional position x must be invariant
2024-02-08 17:00:59 +01:00
Guillaume Ayoub
287819b302 Change management of attachments 2024-02-08 11:17:43 +01:00
kygoh
097021d163 Fix long multiline string 2024-02-08 09:39:41 +00:00
kygoh
85ce10c0ad Test bidirectional position x is invariant 2024-02-08 05:52:40 +00:00
Guillaume Ayoub
7ae3433158 Mark test broken with old Ghostscript versions as xfail 2024-02-03 11:11:57 +01:00
Guillaume Ayoub
cf9e7cda2b Support percentages for opacity
Fix #1986.
2024-02-03 10:57:04 +01:00
Guillaume Ayoub
54d8f726e6 Correctly handle attachments for all PDF/A variants 2024-02-02 17:58:15 +01:00
Guillaume Ayoub
0695919655 Detect attachment relationship in all attachments 2024-02-02 17:19:02 +01:00
Guillaume Ayoub
1545fd546e Update MD5 once for attachments 2024-02-02 17:18:36 +01:00
Guillaume Ayoub
6e62dd0ed3 Allow strings for Attachment guess parameter 2024-02-02 17:17:52 +01:00
Guillaume Ayoub
cec6e5ec3e Only add AF values for PDF/A-2+ 2024-02-02 16:42:10 +01:00
Guillaume Ayoub
05a34e7d9b Merge branch 'main' into pdfa3 2024-02-02 16:01:30 +01:00
Guillaume Ayoub
e64b69cf1f
Merge pull request #2051 from kygoh/fix_issue_2013
Fix computed values on table element overwritten after first page in running tables
2024-02-02 14:56:05 +01:00
kygoh
63ab6140ce Copy table box style to avoid style being overwritten when generating table box wrapper 2024-02-02 14:52:01 +01:00
Guillaume Ayoub
6e835e2729 Clean management of variables
Fix #2042.
2024-01-31 00:04:01 +01:00
Guillaume Ayoub
3f6775acd6
Merge pull request #2050 from Kozea/exe
Build executable files
2024-01-29 20:18:51 +01:00
Guillaume Ayoub
7951711a7f Add explicit "runs-on" key for sample generation 2024-01-29 17:20:00 +01:00
Guillaume Ayoub
8900a074b9 Update dependencies for CI 2024-01-29 17:17:32 +01:00
Guillaume Ayoub
647c0f1fa6 Fix artifact name 2024-01-29 17:14:15 +01:00
Guillaume Ayoub
e914726b3a Fix GitHub CI YAML for executables 2024-01-29 17:10:05 +01:00
Guillaume Ayoub
0d2aa53fec Keep only Windows executable generation 2024-01-29 17:05:38 +01:00
Lucie Anglade
2717288ce2 Use absolute import on macos-latest 2024-01-29 16:54:40 +01:00
Lucie Anglade
ef8706fc72 Update upload-artifact action 2024-01-29 16:54:40 +01:00
Lucie Anglade
6cf9f0b3c8 Use macos-latest 2024-01-29 16:54:40 +01:00
Lucie Anglade
cd43dbb761 Don’t generate executables on ubuntu 2024-01-29 16:54:40 +01:00
Guillaume Ayoub
204452f90f Add executable generation 2024-01-29 16:54:40 +01:00
Guillaume Ayoub
ca60caf25f
Merge pull request #1884 from kygoh/fix_issue_1278
Propose fix for issue #1278
2024-01-29 16:48:27 +01:00
Guillaume Ayoub
c6468e5395 Fix "pages" counter in non-root absolute boxes
These boxes were not available through the "descendants" function, because they
are represented by placeholders. They are also not available in the list of
absolute boxes of the page, because they’re not relative to the root page.

The new "placeholders" parameter of "descendants" goes through placeholders and
gets all the absolute children.

Putting "descendants" and "children" in all boxes, not just parents, avoids
useless checks and special cases.

Fix #2029.
2024-01-29 15:51:16 +01:00
Guillaume Ayoub
f11fcc4c58 Don’t store extra attributes only for tests 2024-01-26 21:09:15 +01:00
Guillaume Ayoub
ad6351024a Clean imports 2024-01-26 16:32:02 +01:00
Guillaume Ayoub
a9f719c6d2 Merge branch 'main' into fix_issue_1278 2024-01-26 16:23:48 +01:00
Guillaume Ayoub
e018bf3fbb Don’t calculate bookmark label when bookmark level is not set
This has changed in the latest CSS GCPM draft:
https://drafts.csswg.org/css-gcpm/#changes
https://drafts.csswg.org/css-content-3/#bookmark-level
2024-01-26 15:41:41 +01:00
Lucie Anglade
4edb03d905
Merge pull request #2043 from michaellisitsa/fix-tspan-not-respecting-text-anchor
Fix tspan not respecting text-anchor
2024-01-26 11:32:52 +01:00