1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-09-11 20:47:56 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Guillaume Ayoub
cf9e7cda2b Support percentages for opacity
Fix #1986.
2024-02-03 10:57:04 +01:00
Guillaume Ayoub
0b1617edc8 Reorganize anchors management 2023-01-23 11:27:44 +01:00
Mikhail Anikin
0de8df6621 Fix rem font size for SVG images
SVG pictures can have font size in rem
2022-10-27 15:14:14 +03:00
Guillaume Ayoub
c9c9b3da9d Minor changes
Improvements provided by refurb.
2022-10-05 18:22:35 +02:00
Guillaume Ayoub
7d2913ccad Improve coverage 2022-09-26 17:25:29 +02:00
Guillaume Ayoub
0792c0d3a3 Clean docstrings in modules 2022-03-25 11:47:27 +01:00
Guillaume Ayoub
abb3184b9e Put the Matrix class in a separate module
It avoids imports in functions and makes document.py a bit smaller.
2022-03-19 17:47:28 +01:00
Guillaume Ayoub
fd4711edbe Handle quotes in url(…) syntax
Related to #1485
2021-11-04 09:35:08 +01:00
Guillaume Ayoub
ab3ff79bd7 Fix patterns 2021-10-03 10:19:31 +02:00
Guillaume Ayoub
f87e1cbe1b Use SVG width/height as inner size when no viewBox is given
Fix #1455.
2021-10-02 17:38:43 +02:00
Guillaume Ayoub
228520d8e6 Handle cx and cy in SVG rotations
Fix #1430.
2021-08-27 21:59:34 +02:00
Lucie Anglade
8c23e982e8 Preserve ration when drawing image in svg 2021-07-30 17:15:15 +02:00
Lucie Anglade
7f6e99bc58 Handle errors in points 2021-07-30 16:08:19 +02:00
Guillaume Ayoub
6417023f3d Fix translation when viewBox’s origin is not 0,0
Related to #1400.
2021-07-23 23:59:14 +02:00
Guillaume Ayoub
604ed6e99e Try to handle gradientTransform 2021-04-16 15:33:04 +02:00
Guillaume Ayoub
36c076091a Document and clean svg.utils 2021-04-12 17:19:46 +02:00
Guillaume Ayoub
ef9668ebf9 Use tinycss2.colors3 when possible 2021-04-12 15:21:43 +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
22b1a5ea1f Fix ratio preservation 2021-04-02 18:34:40 +02: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
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
324f935e33 Handle markers 2021-03-14 09:29:33 +01:00
Guillaume Ayoub
1fedbebd1b Fix lint 2021-03-12 16:08:39 +01:00
Guillaume Ayoub
6e60615e41 Handle paths 2021-03-12 15:20:43 +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