1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 16:07:57 +03:00
Commit Graph

4051 Commits

Author SHA1 Message Date
Guillaume Ayoub
258bf6aafc Add tests for SVG rectangles 2021-03-25 20:21:37 +01:00
Guillaume Ayoub
e6bd2b3084 Handle inline SVG
Related to #75.
2021-03-25 16:50:01 +01:00
Guillaume Ayoub
8fb5f86087 Draw patterns 2021-03-24 14:10:50 +01:00
Guillaume Ayoub
ed5a5f9a93 Render images 2021-03-23 16:22:41 +01:00
Guillaume Ayoub
2474f99ca9 Handle CSS for SVG 2021-03-23 15:06:33 +01:00
Guillaume Ayoub
abd69a6503 Fix preserved ratio when no viewbox is specified 2021-03-23 14:54:21 +01:00
Guillaume Ayoub
882681a99c Preserve ratio for svg tags 2021-03-23 13:58:31 +01:00
Guillaume Ayoub
00e2557ee9 Handle radial gradients 2021-03-20 09:41:37 +01:00
Guillaume Ayoub
b7392374e2 Handle linear gradients 2021-03-19 15:58:22 +01:00
Guillaume Ayoub
5a66e68639 Use svg methods instead of size helper function 2021-03-17 21:30:35 +01:00
Guillaume Ayoub
97ace0dd8c Initial broken support of use 2021-03-15 14:21:36 +01:00
Guillaume Ayoub
324f935e33 Handle markers 2021-03-14 09:29:33 +01:00
Guillaume Ayoub
8ed42be904 Merge branch 'master' into pydyfsvg 2021-03-13 14:00:23 +01:00
Guillaume Ayoub
212ccbab19 Update changelog and version 2021-03-13 13:55:09 +01:00
Guillaume Ayoub
1f5f19ee4c Merge branch 'master' into pydyfsvg 2021-03-13 13:43:31 +01:00
Guillaume Ayoub
d9eb1b0b91 Merge branch 'master' of github.com:Kozea/WeasyPrint 2021-03-13 13:43:12 +01:00
Guillaume Ayoub
70477b2156 Merge branch 'master' into pydyfsvg 2021-03-13 13:41:45 +01:00
Guillaume Ayoub
de798a4900 Update the font map when the font config has changed
Needed because of a bug fix in Pango 1.48.3. See
https://gitlab.gnome.org/GNOME/pango/-/commit/3fc7b26.
2021-03-13 13:41:21 +01:00
Guillaume Ayoub
60d8332ccc Don’t install libffi for macOS
It’s already a dependency of Pango.
2021-03-13 09:49:03 +01:00
Guillaume Ayoub
561734e8ae Make SVG tests pass again 2021-03-12 16:59:02 +01:00
Guillaume Ayoub
1fedbebd1b Fix lint 2021-03-12 16:08:39 +01:00
Guillaume Ayoub
5d3460ac13 Parse definitions 2021-03-12 15:47:49 +01:00
Guillaume Ayoub
6e60615e41 Handle paths 2021-03-12 15:20:43 +01:00
Guillaume Ayoub
de9359ad46 Fix intrinsic sizes calculation 2021-03-12 15:20:20 +01:00
Lucie Anglade
55157b3dea
Merge pull request #1309 from Kozea/leader
Leader support
2021-03-11 16:39:43 +01:00
Lucie Anglade
757daea91a Add newline at the end of file 2021-03-11 15:55:10 +01:00
Guillaume Ayoub
1882174a57
Merge branch 'master' into leader 2021-03-11 15:48:31 +01:00
Guillaume Ayoub
43ec426f6b Add all SVG shapes, inheritance and transformations 2021-03-07 20:34:24 +01:00
Guillaume Ayoub
9d300c1528 First SVG shapes 2021-03-07 18:00:38 +01:00
Lucie Anglade
a4ed61f1b6 Transform is done in pydyfsvg 2021-03-07 18:00:37 +01:00
Lucie Anglade
a5e20cfe4c Support SVG with pydyf 2021-03-07 18:00:37 +01:00
Guillaume Ayoub
9702348719 Remove last word before ellipses when hyphenated
Fix #1305.
2021-03-06 15:27:12 +01:00
Guillaume Ayoub
436378b349 Use the real layout text to draw characters 2021-03-06 12:44:19 +01:00
Guillaume Ayoub
8bd7f401c7 Fix last word detection
get_log_attrs indices are for Unicode characters, not for bytes.

Related to #1305.
2021-03-06 12:18:38 +01:00
Guillaume Ayoub
1cc2d632e6 Merge branch 'master' of github.com:Kozea/WeasyPrint 2021-03-02 16:00:13 +01:00
Guillaume Ayoub
5a9c2b4c58 Merge branch 'master' into doc 2021-03-02 15:51:26 +01:00
Guillaume Ayoub
9deb3ed20f
Merge pull request #1300 from Kozea/line-clamp
Add support of line-clamp
2021-03-02 15:46:18 +01:00
Guillaume Ayoub
660cf37233 Version 52.3 2021-03-02 15:43:14 +01:00
Guillaume Ayoub
080dae8c6a Update the documentation of the overflow module 2021-03-02 15:38:18 +01:00
Guillaume Ayoub
da1219248a Prevent discarded boxes’ children from extending to the page bottom 2021-03-02 13:06:53 +01:00
Guillaume Ayoub
9eba07d0ac Merge branch 'master' into line-clamp 2021-02-23 12:38:08 +01:00
Guillaume Ayoub
96051802c2 Merge branch 'line-clamp' of github.com:Kozea/WeasyPrint into line-clamp 2021-02-23 12:13:36 +01:00
Guillaume Ayoub
694a926ec0 Fix height of "continue: discard" blocks 2021-02-23 12:12:48 +01:00
Guillaume Ayoub
50923ec71f Allow extra tokens for @import rules 2021-02-22 00:20:07 +01:00
Guillaume Ayoub
a156a2653a Fix imports with url() and quotes
Fix #1299. Related to Kozea/tinycss2#33.
2021-02-21 23:30:15 +01:00
Guillaume Ayoub
b71655b783 Add documentation about self-signed certificates
Fix #1253.
2021-02-18 22:20:11 +01:00
Guillaume Ayoub
d2e909c763 Fix documentation about Pango and fontconfig 2021-02-18 21:28:02 +01:00
Guillaume Ayoub
03183fb312 Add a lot of documentation 2021-02-18 21:03:40 +01:00
Guillaume Ayoub
dbed0adec4 New documentation structure 2021-02-18 18:20:32 +01:00
Guillaume Ayoub
dbe298827a Don’t try to test the exact position of an overline 2021-02-18 14:10:00 +01:00