Guillaume Ayoub
|
0eed4a088f
|
Actually draw multiple lines when multiple values are given to text-decoration
|
2013-05-24 19:07:53 +02:00 |
|
Andres Riofrio
|
d2c69d09f0
|
Fix overline not being drawn above the text
|
2013-05-17 09:48:38 -07:00 |
|
Simon Sapin
|
22b4a95406
|
Changelog for v0.19.1
|
2013-04-30 17:08:33 +02:00 |
|
Simon Sapin
|
b57a9e8e0e
|
Use anti-aliasing for dotted borders. It looks better that way.
|
2013-04-30 11:50:32 +02:00 |
|
Simon Sapin
|
25bab1dc6c
|
Fix #76: repeating <thead> and <tfoot> on every page with border-collapse.
|
2013-04-30 10:56:43 +02:00 |
|
Simon Sapin
|
4796fd138d
|
Fix painting of inset/outset borders.
|
2013-04-26 15:00:58 +02:00 |
|
Simon Sapin
|
1cd961fafc
|
Use stroke rather than fill for solid borders. Looks better on PDF.
|
2013-04-23 16:24:33 +02:00 |
|
Simon Sapin
|
1d1bf9cdc9
|
Flake8.
|
2013-04-11 12:08:53 +02:00 |
|
Simon Sapin
|
751d99cc78
|
Move background sizing and positioning from draw to layout.
|
2013-04-03 17:46:14 +02:00 |
|
Simon Sapin
|
242f24b576
|
Refactor background layout.
|
2013-04-03 17:27:07 +02:00 |
|
Simon Sapin
|
171438f48e
|
2013
|
2013-04-03 16:23:48 +02:00 |
|
Simon Sapin
|
0faaceb44f
|
Have Image objects "render themselves" on a cairo Context.
|
2013-04-03 16:00:31 +02:00 |
|
Simon Sapin
|
e36006ea21
|
Introduce Image objects, with intrinsic width/height/ratio as attributes.
|
2013-04-03 13:34:14 +02:00 |
|
Simon Sapin
|
cef113c5a7
|
Add background-repeat: round
|
2013-03-30 23:43:19 +01:00 |
|
Simon Sapin
|
b5de53169c
|
Add backgroun-repeat: space
|
2013-03-30 22:49:47 +01:00 |
|
Simon Sapin
|
86bc8b4978
|
Fix #66: Resolve images’ auto width from non-auto height and intrinsic ratio.
|
2013-03-28 12:44:28 +01:00 |
|
Simon Sapin
|
31d258ba84
|
Bug fix: use each layer’s own painting (clip) area
|
2013-03-26 14:07:44 +01:00 |
|
Simon Sapin
|
99541864a1
|
Simplify background-image a bit.
|
2013-03-26 13:56:11 +01:00 |
|
Simon Sapin
|
3d4c94acdc
|
Prepare for L3 background-repeat.
|
2013-03-25 19:40:27 +01:00 |
|
Simon Sapin
|
e4f68e2b27
|
Prepare background-position internals for Level 3 syntax.
|
2013-03-21 15:46:07 +01:00 |
|
Simon Sapin
|
911ed43169
|
Add support for multiple backgrounds (except for the shorthand.)
|
2013-03-19 18:29:58 +01:00 |
|
Simon Sapin
|
408b7d6605
|
Fix #49: Division by 0 on dashed or dotted border smaller than one dot/dash.
|
2013-03-18 13:44:12 +01:00 |
|
Simon Sapin
|
d310ffe47d
|
Merge branch 'cffi'
Conflicts:
weasyprint/text.py
|
2013-02-25 15:23:59 +01:00 |
|
Simon Sapin
|
829c758788
|
Keep currentColor as a computed value, resolve in used value
According to the css3-color errata:
http://www.w3.org/Style/2011/REC-css3-color-20110607-errata.html
|
2013-01-23 16:52:47 +01:00 |
|
Simon Sapin
|
cfe59387e9
|
Whitespace fixes.
|
2013-01-23 16:41:46 +01:00 |
|
Simon Sapin
|
c70b00b5b8
|
More WIP: cairocffi and pango cffi.
|
2012-12-29 01:36:06 +01:00 |
|
Simon Sapin
|
4f8deadc47
|
Work around a bug in old pycairo versions.
See
http://cgit.freedesktop.org/py2cairo/commit/?id=cab2c1295499f57247854e8635b77ca716fa9730
|
2012-12-12 09:25:28 +01:00 |
|
Simon Sapin
|
28cb59fc8b
|
Pre-compute transformation matricies.
… so that they are available when getting meta-data.
|
2012-10-06 11:26:55 +02:00 |
|
Simon Sapin
|
a564473882
|
Avoid re-using Pattern objects for images.
|
2012-09-26 16:59:40 +02:00 |
|
Simon Sapin
|
ac220e9a4d
|
Refactor the PNG output to use the low-level API
… not intermediate ImageSurface objects.
|
2012-09-18 12:58:58 +02:00 |
|
Simon Sapin
|
9834ccb7e6
|
Handle all of backgrounds at the end of layout.
|
2012-09-13 11:19:40 +02:00 |
|
Simon Sapin
|
ae26c87bfd
|
Handle background images at the end of layout
|
2012-09-13 10:41:22 +02:00 |
|
Simon Sapin
|
6354398139
|
Add a low-level public API
|
2012-09-12 19:33:16 +02:00 |
|
Simon Sapin
|
463a33c1af
|
Fetch background images early
This removes the need to have a reference to the image cache
in draw.py
|
2012-09-12 18:36:00 +02:00 |
|
Simon Sapin
|
43bccc7345
|
Remove the ContextProxy
Instead, pass around the two objects in every function.
This is a bit heavy, but I find it much cleaner.
|
2012-09-12 17:14:51 +02:00 |
|
Johan Dahlin
|
b0fb7a6e31
|
Convert drawing API to use context
Remove the need for a subclass and make it possible
to pass in other contextes such one created by the printing
functions in gtk+.
|
2012-09-12 16:31:00 +02:00 |
|
Simon Sapin
|
20f46ea968
|
Fix #886, only apply clip to absopos.
|
2012-08-03 17:19:04 +02:00 |
|
Simon Sapin
|
ba8a55d5c0
|
Add support for outlines.
|
2012-08-03 16:22:32 +02:00 |
|
Simon Sapin
|
4abf401f9e
|
Simplify Document and remove magic properties.
|
2012-08-03 13:00:14 +02:00 |
|
Simon Sapin
|
ec8cbc6c24
|
Remove one-line methods in Document.
|
2012-08-03 11:51:58 +02:00 |
|
Simon Sapin
|
163b85bae4
|
Kill Document in draw.py
|
2012-07-12 15:13:08 +02:00 |
|
Simon Sapin
|
0d3d1f1fd5
|
Collapsed borders intersections should be rectangles, not squares.
|
2012-07-12 11:10:18 +02:00 |
|
Simon Sapin
|
e955781b91
|
Fix border-collapse on multiple pages
|
2012-07-11 19:23:41 +02:00 |
|
Simon Sapin
|
34fc003c57
|
Paint collapsed table borders
|
2012-07-11 18:21:20 +02:00 |
|
Simon Sapin
|
fd96c0df0a
|
Ignore margins on internal table boxes: fix #888
Also ignore padding on table with border-collapse
|
2012-07-11 16:39:17 +02:00 |
|
Simon Sapin
|
712a219803
|
Only disable anti-aliasing on PNG output.
And, for borders, if the width is more than 1 device unit.
|
2012-06-22 15:18:46 +02:00 |
|
Simon Sapin
|
97f3eee889
|
Refactor text handling
* Kill the TextFragment class. Use a set of functions instead.
* Pass around an `enable_hinting` boolean rather than a dummy surface
|
2012-06-21 17:22:01 +02:00 |
|
Simon Sapin
|
5bf6172ac5
|
Disable anti-aliasing on underline and other text decrations.
|
2012-06-20 16:29:14 +02:00 |
|
Simon Sapin
|
53a05b2aa7
|
Fix the fix on inline-block painting.
|
2012-06-04 18:49:13 +02:00 |
|
Guillaume Ayoub
|
c3b2f2f440
|
Draw the replaced elements into the content box (not padding box)
|
2012-06-04 17:42:58 +02:00 |
|