1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 08:27:22 +03:00
Commit Graph

3826 Commits

Author SHA1 Message Date
Guillaume Ayoub
06b3c954c4 Fix CSS validation tests 2020-10-24 17:48:24 +02:00
Guillaume Ayoub
bd0a6eee45 Fix non-repeating linear gradients 2020-10-24 17:42:13 +02:00
Guillaume Ayoub
c2393562a2 Fix deps for tests, and add Python 3.9 2020-10-23 13:10:42 +02:00
Guillaume Ayoub
01fe5504e4 Fix links 2020-10-23 13:08:29 +02:00
Guillaume Ayoub
12999bded8 Merge branch 'master' into pydyf 2020-10-23 12:36:03 +02:00
Guillaume Ayoub
bf89df5b67 Use axis variable instead of relying on flex-direction property 2020-10-21 21:03:34 +02:00
Guillaume Ayoub
638b70e3e3 Deduplicate flex logic for rtl
Related to #1225.
2020-10-21 21:03:01 +02:00
Guillaume Ayoub
f5f204eb5e
Merge pull request #1225 from malnajdi/master
flexbox: initial attempt to add support for RTL direction
2020-10-21 20:46:35 +02:00
Lucie Anglade
240fed841d
Merge pull request #1229 from Kozea/clean
Clean
2020-10-12 11:36:10 +02:00
Mohammed Y. Alnajdi
a81a82dc4c Kozea/WeasyPrint#601: fix indentation 2020-10-11 08:49:57 +03:00
Mohammed Y. Alnajdi
0c2e7b2341 Kozea/WeasyPrint#601: remove TODO:handle RTL 2020-10-10 23:14:21 +03:00
Mohammed Y. Alnajdi
2a01aefeb5 Kozea/WeasyPrint#601: add flex rtl tests row & col 2020-10-10 22:04:49 +03:00
Mohammed Y. Alnajdi
ecb97b1854 Kozea/WeasyPrint#601: handle flex-direction column 2020-10-10 21:45:45 +03:00
Lucie Anglade
ceda982967
Create FUNDING.yml 2020-10-08 19:06:50 +02:00
Lucie Anglade
b0cd0336a1 Update links in setup.cfg 2020-10-08 19:05:49 +02:00
Lucie Anglade
674be6e50b Delete CODE_OF_CONDUCT.rst, link for it in the README 2020-10-08 19:04:14 +02:00
Lucie Anglade
9fef078938 Update README 2020-10-08 19:03:26 +02:00
Guillaume Ayoub
00f1e9fd12 Clean metadata files at the root of the repository 2020-10-08 16:13:50 +02:00
Mohammed Y. Alnajdi
1e35ab3c5e flexbox: initial attempt to support flex with rtl 2020-10-03 20:42:36 +03:00
Mohammed Y. Alnajdi
251157944e added rtl flexbox test 2020-10-03 20:41:59 +03:00
Guillaume Ayoub
e1a1af70e9
Merge pull request #1221 from Kozea/readme
Update README
2020-09-28 21:29:23 +02:00
Lucie Anglade
83c351ef6e Update README 2020-09-28 20:36:11 +02:00
Guillaume Ayoub
b545239f1e
Merge pull request #1146 from Tontyna/bookmark-label
Bookmark label
2020-09-23 21:33:18 +02:00
Guillaume Ayoub
c9385a4b0f Use the old square character for list
Fix #1182.
2020-09-23 20:50:21 +02:00
Guillaume Ayoub
dd3ea9b768
Merge pull request #1216 from Kozea/fix_1203
Fix embedded files addition
2020-09-21 18:28:28 +02:00
Lucie Anglade
fa92372cdb When adding embedded files, the Catalog dictionary is extended with a Name entry only when there isn’t one.
When there is already a Name entry in the Catalog, it’s the Name which is extended as the Catalog can have only one Names entry according to the PDF’s spec.

Internal links were broken with embedded files because an other Name entry was added and so PDF readers forgot the previous one containing the link’s destination.

Fix #1203.
2020-09-21 15:28:53 +02:00
Guillaume Ayoub
319b7dd61f
Merge pull request #1212 from Kozea/fix_1163
Deal with special chars in internal links
2020-09-13 18:54:58 +02:00
Lucie Anglade
30bf467ce8 Cairo use hex string when there are parenthesis for TAG_LINK but not for TAG_DEST so an id is not represented by the same string in the pdf and pdf reader can make the link between them. Using urllib.parse.quote replaces special chars and so Cairo stop using hex string and pdf reader are happy. 2020-09-13 18:42:56 +02:00
Guillaume Ayoub
37445dbf5b
Merge pull request #1210 from Kozea/fix_1126
Support download attribute in <a> for attachment
2020-09-10 12:52:46 +02:00
Lucie Anglade
a9822fbb83 Remove useless import 2020-09-10 12:07:10 +02:00
Lucie Anglade
325c9cb7b4 Fix test 2020-09-10 12:04:13 +02:00
Lucie Anglade
c5a06dbeae Clean code 2020-09-10 11:58:19 +02:00
Lucie Anglade
8612c374bd Add download test for attachment 2020-09-10 11:44:49 +02:00
Lucie Anglade
1519424378 Fix ci’s isort 2020-09-10 00:57:08 +02:00
Lucie Anglade
5de2bda477 Add missing space 2020-09-10 00:53:02 +02:00
Lucie Anglade
b1bb6b78bb isort 2020-09-10 00:52:41 +02:00
Lucie Anglade
a9a24f754f Use download attribute in <a> to define filename for attachment 2020-09-10 00:51:03 +02:00
Guillaume Ayoub
d9352177b0
Merge pull request #1209 from grewn0uille/master
Use GitHub Actions instead of Travis
2020-09-08 17:57:58 +02:00
Lucie Anglade
8875bc6a0d Merge kozea/master 2020-09-08 17:48:13 +02:00
Guillaume Ayoub
41f871f12d Drop Python 3.5 support 2020-09-04 08:41:11 +02:00
Guillaume Ayoub
254f8fa935 Remove backslash 2020-09-04 08:40:18 +02:00
Guillaume Ayoub
89ab158868
Merge pull request #1165 from mikevoets/fix/variables-concatenation-in-content
Add support for concatenating var() functions in 'content' declarations
2020-09-04 08:12:40 +02:00
Guillaume Ayoub
c607c01a8c Fix a crash with a flexbox corner case
When the flex box height percentage can’t be solved using its parent heihgt,
its computed height is set to 'auto' even if the specified value is not
'auto'. It’s a problem when the flex box has multiple lines, because in this
case we rely on the computed height to distribute the extra space between the
lines.

Fix #1204.
2020-09-01 21:20:04 +02:00
Guillaume Ayoub
6ed7be1ca9 Revert "Don’t copy fonts for tests"
This reverts commit b15d2eb37a.
2020-08-25 21:09:30 +02:00
Guillaume Ayoub
64e1503451 Drop Python 3.5 support 2020-08-25 20:59:58 +02:00
Guillaume Ayoub
acbeaf0c8b Fix imports 2020-08-25 20:42:09 +02:00
Guillaume Ayoub
7a7b09424e Merge branch 'master' into lucie 2020-08-25 20:27:51 +02:00
Guillaume Ayoub
b15d2eb37a
Don’t copy fonts for tests
Related to msys2/MINGW-packages#5762.
2020-08-25 13:14:43 +02:00
Guillaume Ayoub
c9b27bdbb4 Simplify image mode management 2020-08-03 18:18:55 +02:00
Guillaume Ayoub
4539a91101 Handle images with transparency color 2020-08-02 15:44:39 +02:00