1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-06 00:47:13 +03:00
Commit Graph

720 Commits

Author SHA1 Message Date
Simon Sapin
25387851a4 Fix opacity tests. 2012-02-07 18:47:52 +01:00
Simon Sapin
f4ee0c188b Support the opacity property. 2012-02-07 18:26:23 +01:00
Simon Sapin
2e76955c69 Implement the clip property. 2012-02-07 18:06:59 +01:00
Simon Sapin
6ba1e20cd7 Merge branch 'v0.4.x'
Conflicts:
	weasy/version.py
2012-02-07 17:03:22 +01:00
Simon Sapin
dec2ac47b2 Add release date to the changelog 2012-02-07 17:00:25 +01:00
Simon Sapin
ebf11d32d7 Implement the 'overflow' property. 2012-02-07 16:59:22 +01:00
Simon Sapin
26766130e2 On to 0.5 2012-02-07 16:12:25 +01:00
Simon Sapin
817eba524c Tag version 0.4 2012-02-07 16:12:04 +01:00
Simon Sapin
82740770f7 De-duplicate the version number. 2012-02-07 16:11:38 +01:00
Simon Sapin
223f1ae5b4 Cleaner warning on un-supported margin boxes automatic dimension. 2012-02-07 16:02:35 +01:00
Simon Sapin
886e6504d2 Changelog for letter/word-spacing 2012-02-07 16:02:35 +01:00
Simon Sapin
8e08412961 Fix justified text with text-indent. 2012-02-03 00:43:18 +01:00
Simon Sapin
4dcebbdde3 Work around a bug on content empty pages. 2012-02-03 00:11:27 +01:00
Simon Sapin
a371e188fc Update UA stylesheet for Paged Media (text/vertical-align) 2012-02-02 23:23:12 +01:00
Simon Sapin
acdda87089 Implement vertical-align for margin boxes. 2012-02-02 23:13:26 +01:00
Simon Sapin
646e7693ec Test word-spacing and add support for letter-spacing. 2012-02-01 17:13:08 +01:00
Simon Sapin
d7c5aa210e Changelog for justified text. 2012-02-01 16:17:48 +01:00
Simon Sapin
0a395f0398 Fix corner cases for justified text. 2012-02-01 16:13:47 +01:00
Simon Sapin
ca9324bfa1 Merge branch 'master' into justify 2012-02-01 10:53:49 +01:00
Simon Sapin
90b6463b2d Require a released cssutils. 2012-02-01 10:50:04 +01:00
Simon Sapin
32a20aa467 Update the changelog for background-* and image-rendering. 2012-01-31 12:10:18 +01:00
Simon Sapin
70292e1dae Implement background-size and image-rendering. 2012-01-31 11:45:24 +01:00
Simon Sapin
1d2b5ce610 Default to logging on stderr. 2012-01-30 17:54:51 +01:00
Simon Sapin
f1c912a9b2 Implement CSS3 background-clip and background-origin. 2012-01-30 17:23:25 +01:00
Aymeric Bois
7be7dcd13d Escape pango markup. 2012-01-30 12:34:58 +01:00
Simon Sapin
996d039423 Implement background-position in FireWeasy. 2012-01-27 17:05:56 +01:00
Simon Sapin
a598c61571 Fix painting area for page and canvas backgrounds. 2012-01-27 16:53:16 +01:00
Simon Sapin
03327e2291 Remove Box.direction
Now that @page inherits from :root, this is enough for "the initial
containing block [the page area] takes its direction from
the root element."
2012-01-27 11:07:49 +01:00
Simon Sapin
0ef9a17727 Have @page inherit from :root. 2012-01-27 11:02:22 +01:00
Guillaume Ayoub
dc835953fa Initial support of word-spacing and justify 2012-01-26 11:33:49 +01:00
Simon Sapin
af28de57ff Iterate on FireWeasy. 2012-01-25 20:30:15 +01:00
Simon Sapin
6b78c33622 First stab at FireWeasy.
The idea is to render the box tree in a browser instead of cairo,
so that tools like FireBug can be used to see the actual
dimensions of various boxes to help debug documents.
2012-01-25 19:06:33 +01:00
Simon Sapin
d5c0fd22f9 Refactor margin boxes layout to use box wrappers. 2012-01-23 14:07:53 +01:00
Simon Sapin
5cfcdf29cc More cases for margin boxes variable dimension. 2012-01-23 13:40:35 +01:00
Simon Sapin
461ab52bd5 Implement page-break-before and page-break-after (without 'avoid'). 2012-01-20 11:55:06 +01:00
Simon Sapin
604219e376 Catch up with CairoSVG API changes. 2012-01-19 17:11:40 +01:00
Simon Sapin
c3085d5088 Better work-around for scaling SVG images to pixels. 2012-01-17 16:27:20 +01:00
Simon Sapin
cce61078e2 Implement page-based counters.
Currently in the page context only the 'page' and 'pages' counters are
available, and counter-reset and counter-increment have no effect at all.
2012-01-17 15:58:02 +01:00
Simon Sapin
34252ee571 Fix some values of background-position.
When both values were keywords in the (vertical, horizontal) order,
they were taken in the wrong order.
2012-01-16 14:00:30 +01:00
Simon Sapin
fe3dd10ea0 Add tests and fixes for non-ASCII URLs 2012-01-16 13:12:27 +01:00
Simon Sapin
561028eee5 Fix tests with SVG images, require a new CairoSVG version. 2012-01-16 11:39:02 +01:00
Simon Sapin
d184eb26bd Fix SVG dimensions. 2012-01-13 18:16:27 +01:00
Simon Sapin
2ebfde0ba7 Implement more cases for variable dimension. 2012-01-12 19:28:08 +01:00
Simon Sapin
4c4123af91 Correct scaling of SVG images. 2012-01-12 19:28:08 +01:00
Guillaume Ayoub
61756d1c15 Add tests for variable dimensions 2012-01-12 19:10:53 +01:00
Guillaume Ayoub
2d182d4884 Remove a useless "if" test, fix the margin affectations 2012-01-12 19:10:24 +01:00
Simon Sapin
d483f77a8e Do not use cairo.EXTEND_REPEAT when background-repeat is 'no-repeat'.
There seem to be a bug in cairo that rasterizes SurfacePattern
objects when extend is EXTEND_REPEAT.
2012-01-11 19:15:16 +01:00
Simon Sapin
c641bbbdc3 Give the image URL to CairoSVG for <use> 2012-01-11 18:43:45 +01:00
Simon Sapin
500f3d3b4d Implement more cases for margin boxes variable dimension. 2012-01-09 19:19:59 +01:00
Simon Sapin
2f6e27a111 Margin boxes: correct layout when width is auto but not margins. 2012-01-06 17:04:36 +01:00