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

2543 Commits

Author SHA1 Message Date
Guillaume Ayoub
a9144e582e Clean and document svg.__init__ 2021-04-12 14:25:55 +02:00
Guillaume Ayoub
c775ca6f46 Add bounding boxes for texts 2021-04-12 13:32:40 +02:00
Guillaume Ayoub
dd901bd8f6 Remove unused file 2021-04-11 16:15:36 +02:00
Guillaume Ayoub
0d8fb23145 Clean SVG support 2021-04-11 16:13:59 +02:00
Guillaume Ayoub
3a41d4e8a1 Initial support of text 2021-04-10 22:15:43 +02:00
Guillaume Ayoub
f52156ab0a Fix x/y offsets with objectBoundingBox gradients 2021-04-05 15:45:20 +02:00
Guillaume Ayoub
8cbd0b0639 Handle masks, multiple fixes for gradients 2021-04-05 12:11:36 +02:00
Guillaume Ayoub
889e310bc1 Handle filters 2021-04-04 12:40:04 +02:00
Guillaume Ayoub
22b1a5ea1f Fix ratio preservation 2021-04-02 18:34:40 +02:00
Guillaume Ayoub
0eeb52160e Follow PEP 621
The future is now.
2021-04-02 16:24:01 +02:00
Guillaume Ayoub
a5f5fe6fb8 Remove documentation strings about PNG export. 2021-04-02 16:23:28 +02:00
Guillaume Ayoub
d572de33b9 Handle opacity attribute 2021-03-31 15:28:17 +02:00
Guillaume Ayoub
5fb675e362 Fix svg tag size 2021-03-31 15:20:57 +02: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
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
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
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
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