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

648 Commits

Author SHA1 Message Date
Simon Sapin
e4f68e2b27 Prepare background-position internals for Level 3 syntax. 2013-03-21 15:46:07 +01:00
Simon Sapin
c8bd3a3782 Allow percentages in background-size. 2013-03-21 12:53:53 +01:00
Simon Sapin
92b2045ed7 The background shorthands accepts values for -clip and -origin. 2013-03-20 16:19:26 +01:00
Simon Sapin
7a4faac087 Add background-attachement: local, same as scroll.
Since we have no scrolling mechanism,
local and scroll are treated the same.
2013-03-20 13:34:13 +01:00
Simon Sapin
1616e37259 Upgrade the background shorthand for multiple layers. 2013-03-20 13:19:48 +01:00
Simon Sapin
911ed43169 Add support for multiple backgrounds (except for the shorthand.) 2013-03-19 18:29:58 +01:00
Simon Sapin
f284205e78 Changelog for v0.17.1 2013-03-18 19:40:53 +01:00
Simon Sapin
216e13136e Fix #44: bad interaction of page-break-before/after: avoid and floats. 2013-03-18 15:26:11 +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
4c04bcd1a9 Fix URL escaping of image references from CSS. 2013-03-18 12:09:57 +01:00
Guillaume Ayoub
158d4cf2a1 Prefix 'hyphens' in the user agent stylesheet 2013-03-14 18:11:58 +01:00
Guillaume Ayoub
59daa1a827 Don't render abosolute boxes twice 2013-03-13 18:50:21 +01:00
Guillaume Ayoub
163f9a04db Merge branch 'master' of github.com:Kozea/WeasyPrint 2013-03-13 13:50:29 +01:00
Guillaume Ayoub
4011792ee0 Don't remove spaces between inline blocks 2013-03-13 13:49:51 +01:00
Simon Sapin
89bd068990 Allow absolute URLs without a base URL. Fix #42. 2013-03-13 12:12:12 +01:00
Guillaume Ayoub
8c960bd9a1 Merge branch 'master' of github.com:Kozea/WeasyPrint 2013-03-11 19:05:19 +01:00
Guillaume Ayoub
84e67995df Don't strip non-breaking spaces when setting width=0 on empty inline boxes 2013-03-11 19:04:00 +01:00
Simon Sapin
e8581dbd09 Ooops. Fix g_type_init() call. 2013-03-11 15:32:29 +01:00
Simon Sapin
cbba64983d Try to make glib happy, call g_type_init() 2013-03-08 15:09:45 +01:00
Simon Sapin
c49f060c9f Add support for -weasy-hyphens: none, cache hyphenation dictionaries 2013-02-27 13:44:57 +01:00
Simon Sapin
b7ed4a906f Tweak hyphenation and add a micro-test. 2013-02-26 19:45:00 +01:00
Simon Sapin
54df780ae7 Require Pyphen.
It is pure-python and self-contained (with dictionaries)
2013-02-26 18:50:57 +01:00
Simon Sapin
43489dec07 Merge branch 'master' into hyphenation
Conflicts:
	weasyprint/text.py
2013-02-26 18:16:59 +01:00
Simon Sapin
f7e78c488f Back to native strings for CFFI, still required on PyPy :( 2013-02-26 17:12:08 +01:00
Simon Sapin
46715ad7a2 Try alternative shared library names for Windows. 2013-02-26 15:05:53 +01:00
Simon Sapin
326b7701b5 Remove introspection related cruft. 2013-02-26 15:05:11 +01:00
Simon Sapin
3a42860018 Move GDK-PixBuf code to cairocffi.pixbuf 2013-02-26 15:04:52 +01:00
Simon Sapin
06a9ad8c91 Unicode strings are fine with CFFI 0.5 2013-02-25 16:38:54 +01:00
Simon Sapin
4c4be709d5 Make GDK-PixBuf optional. 2013-02-25 16:34:42 +01:00
Simon Sapin
e2ef91dd99 Fix the GDK-PixBuf loader for images with an alpha channel. 2013-02-25 16:30:39 +01:00
Simon Sapin
9ccd37e088 Don’t bother making CairoSVG optional. 2013-02-25 16:26:39 +01:00
Simon Sapin
d310ffe47d Merge branch 'cffi'
Conflicts:
	weasyprint/text.py
2013-02-25 15:23:59 +01:00
Simon Sapin
055f9a3637 Import stuff early, do not try to run --help without importing. 2013-02-25 15:21:25 +01:00
Guillaume Ayoub
6e114af5af Fix horizontal negative margins for floats 2013-02-25 14:57:50 +01:00
Simon Sapin
9b7c681d27 cairocffi is released, remove the tarball from tox.ini 2013-02-25 14:53:30 +01:00
Simon Sapin
f33e9e8039 Have a better error message when CairoSVG uses pycairo instead of craicffi. 2013-02-25 14:48:56 +01:00
Guillaume Ayoub
c789ba2c91 Don't strip leading non-breaking spaces 2013-02-01 01:57:12 +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
4f9f486ef1 cairocffi accepts byte strings for set_mime_data() now. 2013-01-01 16:55:48 +01:00
Simon Sapin
a1109346df Update for cairocffi changes. 2012-12-30 11:08:55 +01:00
Simon Sapin
124a28cb15 Convert pixbuf images to cairo with Gdk if available. 2012-12-29 23:02:50 +01:00
Simon Sapin
4eb59f04ec Update setup.py and tox.ini 2012-12-29 15:27:45 +01:00
Simon Sapin
294be548b0 All tests passsing with cffi!! 2012-12-29 14:55:59 +01:00
Simon Sapin
5baee96712 Use pixbuf through cffi. 2012-12-29 11:58:52 +01:00
Simon Sapin
c70b00b5b8 More WIP: cairocffi and pango cffi. 2012-12-29 01:36:06 +01:00
Simon Sapin
d2040ac77a WIP: use Pango and cairo through cffi.
Use cairocffi
Ditch pycairo, PyGTK and PyGobject-introspection.
2012-12-28 23:17:04 +01:00
Guillaume Ayoub
903490b207 Merge branch 'master' into hyphenation
Conflicts:
	weasyprint/layout/inlines.py
2012-12-28 17:56:03 +01:00
Guillaume Ayoub
94c719b4ea Fix some trailing spaces 2012-12-28 17:45:23 +01:00
Guillaume Ayoub
474435c852 Merge branch 'master' into hyphenation 2012-12-26 17:03:48 +01:00