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

34 Commits

Author SHA1 Message Date
Simon Sapin
a7961ff98d Move text drawing from CairoContext to TextFragment. 2011-08-26 15:24:42 +02:00
Salem Harrache
eaec6b9576 Bug fix : use FakeTextLineFragment for textbox with font-size 0 2011-08-26 13:56:00 +02:00
Simon Sapin
fc4c4863df Cache images to avoid downloading them over and over.
(In particular, page background images were downloaded for each page.)
2011-08-25 22:16:04 +02:00
Simon Sapin
ebbeaffa8f Handle alt-text on images. 2011-08-25 17:33:44 +02:00
Simon Sapin
344f59fd3a Fix missing content at page breaks. 2011-08-24 18:27:05 +02:00
Salem Harrache
eb37372233 Merge branch 'master' of github.com:Kozea/WeasyPrint 2011-08-24 15:55:03 +02:00
Simon Sapin
d6575d8479 Draw page borders and backgrounds. 2011-08-24 15:44:50 +02:00
Salem Harrache
ea2752be1a draw text-decoration (underline/overline/line-through) in draw package and not anymore in TextFragment 2011-08-24 14:58:25 +02:00
Guillaume Ayoub
0afd621564 Clean weasy/draw/helpers 2011-08-23 11:42:40 +02:00
Salem Harrache
682a34006f Merge branch 'master' of github.com:Kozea/WeasyPrint
Conflicts:
	weasy/draw/helpers.py
	weasy/layout/__init__.py
	weasy/layout/blocks.py
	weasy/layout/inlines.py
2011-08-22 18:33:20 +02:00
Salem Harrache
c0e912876f add InlineContext object for backtracking linebreak 2011-08-22 18:20:23 +02:00
Guillaume Ayoub
d041826390 Clean weasy/draw/* 2011-08-22 17:36:07 +02:00
Salem Harrache
a1fa87233b Merge branch 'master' of github.com:Kozea/WeasyPrint 2011-08-22 10:17:43 +02:00
Salem Harrache
00dca74712 fix image render in draw helpers 2011-08-22 10:17:37 +02:00
Simon Sapin
7e6e9fff1e Return early in draw_border when there is no border. 2011-08-21 00:14:49 +02:00
Simon Sapin
ad3120087e Add support for glyph-based list markers. 2011-08-20 15:07:14 +02:00
Salem Harrache
f25805ce53 add PIL in install_requires 2011-08-19 15:50:03 +02:00
Salem Harrache
2bf574b27c Merge branch 'master' of github.com:Kozea/WeasyPrint
Conflicts:
	weasy/tests/test_layout.py
2011-08-17 18:25:14 +02:00
Salem Harrache
e39a279c80 add support for inline image and many image formats with PIL 2011-08-17 18:21:52 +02:00
Simon Sapin
0545089223 .get_width is only on PNGSurface, not on PDFSurface for some reason... 2011-08-17 18:14:54 +02:00
Salem Harrache
4fffd0cb93 a lot of changes in the inline formatting context algorithm : add support to inlinebox borders 2011-08-17 14:01:06 +02:00
Simon Sapin
f639f4f7e0 Rename the weasy.css.utils module to weasy.css.values 2011-08-15 13:03:09 +02:00
Simon Sapin
1113361797 Pyflakes cleanups. 2011-08-12 15:04:45 +02:00
Simon Sapin
a6be2af251 Implement background-attachement: fixed. 2011-08-11 15:55:01 +02:00
Simon Sapin
48d8c9ac52 Bug fix for background-position. 2011-08-11 11:15:41 +02:00
Simon Sapin
cef8ee7c22 Implement background-position. 2011-08-10 19:33:16 +02:00
Simon Sapin
c8104634c3 Implement repeat-x and repeat-y 2011-08-10 16:52:34 +02:00
Simon Sapin
509b42e505 Implement background-repeat: no-repeat 2011-08-10 16:19:17 +02:00
Simon Sapin
a0b99e9633 De-duplicate image getting code. 2011-08-10 14:51:18 +02:00
Simon Sapin
6e35b0d526 Use context.stacked() instead of .save() and .restore(). 2011-08-10 12:48:16 +02:00
Simon Sapin
f2a5e20b03 Move canvas background drawing to a function. 2011-08-10 12:40:28 +02:00
Simon Sapin
33a7fc46e2 Pyflakes cleanups. 2011-08-10 10:28:33 +02:00
Salem Harrache
b9976f2e28 add absolute_uri for background-image 2011-08-10 10:01:56 +02:00
Salem Harrache
fc9f02a240 add drawing background-image without repeat-x/y/position properties 2011-08-09 16:08:58 +02:00