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

140 Commits

Author SHA1 Message Date
Guillaume Ayoub
ad11edfff2 Remove StyleDict objects 2018-01-13 17:41:08 +01:00
Guillaume Ayoub
724565f27a Don't allow attribute access to StyleDict objects 2018-01-13 17:05:23 +01:00
Guillaume Ayoub
526bbd28b5 Fix border-radius drawing
Fix #360.
2017-10-24 22:09:00 +02:00
Guillaume Ayoub
e5dcab7cf3 Cleanups 2017-10-05 08:45:50 +02:00
Guillaume Ayoub
34153d273e Merge pull request #517 from dark-light-cz/pdfrw
Added support to work with bleed like padding (bleed-top/right/bottom…
2017-10-05 06:45:49 +02:00
Guillaume Ayoub
112c3fc3a2 Fix import order 2017-10-04 18:21:13 +02:00
Václav Pokluda
05446f5eff Added support to work with bleed like padding (bleed-top/right/bottom/left) 2017-09-21 12:03:09 +02:00
Guillaume Ayoub
71d54095bd Add support of marks and bleed pages properties
Fix #471.
2017-09-05 15:44:50 +02:00
Guillaume Ayoub
4f4b4ed598 Use isort in tests 2017-03-25 00:33:36 +01:00
Guillaume Ayoub
412aeb48fa Optimize font metrics 2016-11-02 12:55:01 +01:00
Guillaume Ayoub
1f5ff70882 Fix the drawing order of borders and column rules 2016-08-15 19:22:05 +02:00
Guillaume Ayoub
4e4e0a48c0 Fix the column rule drawing 2016-08-15 17:15:39 +02:00
Guillaume Ayoub
e285acda8e Draw column rules 2016-08-15 03:34:40 +02:00
Guillaume Ayoub
42f0ffb908 Remove extra empty line 2016-05-08 16:53:00 +02:00
Guillaume Ayoub
29303da413 Don't crash when transform matrix isn't invertible 2016-05-08 15:53:58 +02:00
Guillaume Ayoub
a5b8239773 Respect the empty-cells property 2016-01-24 14:38:29 +01:00
Guillaume Ayoub
3f7c2fa109 Fix background drawing for table rows and columns
The background of table rows, rows groups, columns and columns groups
must only be draw behind cells.

Fix #151.
2016-01-16 17:33:52 +01:00
Guillaume Ayoub
da96902bda Fix many PEP8 errors and warnings
- Put line breaks after operators (that's OK)
- Don't assign lambdas, use functions (well, that's really explicit in
  PEP8, it's really verbose but why not)
- Put imports at the beginning of the file (only special cases for us)
2016-01-15 12:48:25 +01:00
Alex Eftimie
93f497bf11 Replace utf8 with utf-8 for gettext compatibility 2015-11-25 09:38:01 +02:00
Guillaume Ayoub
187e6d16b3 Draw rounded corners on replaced boxes (fix #207) 2015-04-25 20:00:20 +02:00
Simon Sapin
43d1e73e65 Fix code formatting. (Clean flake8!) 2014-04-27 12:29:55 +01:00
Simon Sapin
c34221d215 2014. 2014-01-10 14:27:02 +00:00
Guillaume Ayoub
bc0e612666 Make 'collapse' act like 'hidden' for non-table row or column elements 2013-12-30 17:53:20 +01:00
Clément Plasse
449ef365d4 Fix background for tables 2013-12-18 18:07:38 +01:00
Guillaume Ayoub
3e49ce8abe Don't crash when drawing borders on 0-size boxes (fix #146) 2013-12-18 15:30:59 +01:00
Guillaume Ayoub
48637736d8 Use a better algorithm for border-style: ridge/groove/inset/outset (fix #78) 2013-12-14 13:40:44 +01:00
Clément Plasse
469ca93b42 Fix table element order drawing following the spec 2013-12-13 12:42:14 +01:00
Simon Sapin
c346f8b061 border-radius: Fix overlapping curves with the used radii 2013-12-10 14:49:34 +00:00
Guillaume Ayoub
4070caf23a Fix python 2.6 support 2013-12-10 13:32:51 +01:00
Guillaume Ayoub
882b6fce20 Be careful with the clip! Fix last bug for rounded borders. 2013-12-10 10:28:31 +01:00
Guillaume Ayoub
5eb9d41e1d Fixed one bug again in borders, one bug left 2013-12-10 09:22:34 +01:00
Guillaume Ayoub
def2177d28 Remove duplicates again! 2013-12-09 21:42:33 +01:00
Guillaume Ayoub
f8c06c5179 Remove duplicate code again 2013-12-09 21:31:54 +01:00
Guillaume Ayoub
eb134d3ded Deduplicate some code about borders 2013-12-09 19:51:59 +01:00
Guillaume Ayoub
e95aadcaa0 Small fix for borders 2013-12-09 19:25:36 +01:00
Guillaume Ayoub
09c9781de0 Use a way more simple way to draw dots in borders 2013-12-09 19:14:38 +01:00
Guillaume Ayoub
2e3203f79b Fix sign 2013-12-09 12:52:26 +01:00
Guillaume Ayoub
40963f59c4 Draw real ellipse arcs instead of bezier curves 2013-12-07 15:53:52 +01:00
Clément Plasse
3307be5d2c Fix offset 2013-12-06 19:00:20 +01:00
Clément Plasse
25a620e9fd Better choice of the transition point 2013-12-06 16:04:53 +01:00
Clément Plasse
bdbacdd8e3 Fix double clip for borders 2013-12-06 13:06:40 +01:00
Guillaume Ayoub
6524ab3ac2 Add left and right borders 2013-12-06 11:12:03 +01:00
Guillaume Ayoub
766171c11f Group code for top and bottom borders 2013-11-19 16:02:52 +01:00
Guillaume Ayoub
5d99fdd54d Add support for bottom borders 2013-11-19 14:37:49 +01:00
Guillaume Ayoub
21320ab538 Handle cases when height>width for border radius 2013-09-17 20:17:11 +02:00
Guillaume Ayoub
6f5d6124a4 Double clip borders 2013-09-14 11:13:53 +02:00
Guillaume Ayoub
aef454122b Small fix 2013-09-14 10:24:40 +02:00
Guillaume Ayoub
a49f456c21 Small fixes about borders 2013-09-14 10:21:25 +02:00
Guillaume Ayoub
a0bf5981ad Fix stupid bug in border radius index for dot/dash step 2013-09-12 16:50:17 +02:00
Guillaume Ayoub
3e3accd619 Merge branch 'master' into border3 2013-08-14 12:50:32 +02:00