Simon Sapin
3a42860018
Move GDK-PixBuf code to cairocffi.pixbuf
2013-02-26 15:04:52 +01:00
Simon Sapin
1145958a39
Update install docs for CFFI.
2013-02-25 19:27:17 +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
94c719b4ea
Fix some trailing spaces
2012-12-28 17:45:23 +01:00
Simon Sapin
2388891ae3
More libxml2 work-arounds.
2012-12-26 17:03:08 +01:00
Guillaume Ayoub
d6b78b30e7
Work around parser changes in libxml2 2.9
2012-12-26 16:43:10 +01:00
Guillaume Ayoub
145027536b
Collapse consecutive text boxes
2012-12-26 16:42:45 +01:00
Guillaume Ayoub
488178c6ab
Typo
2012-12-26 14:47:33 +01:00
Simon Sapin
773bbfe431
Changelog for JPEG embedding.
2012-12-20 20:21:13 +01:00
Simon Sapin
f243dbcca3
Embed JPEG-encoded images in PDF. Fix #6
...
If an image is in JPEG format, embed it as-is in the PDF output.
This often results in smaller PDF file size.
(The image is still decoded however,
so there is no rendering speed improvement.)
2012-12-20 20:12:52 +01:00
Simon Sapin
3a43ed6a8b
Changelog for 0.16
2012-12-13 11:49:24 +01:00
Simon Sapin
8995ce77d9
Merge remote-tracking branch 'origin/trailingspaces'
2012-12-12 16:06:20 +01:00
Simon Sapin
f12deb8fc6
Work around a segfault on Python 3.2.
...
Something bad happend when de-allocating a module-level BytesIO()
and dummy PDFSurface.
2012-12-12 16:02:41 +01:00
Simon Sapin
2393965de1
Test in old pycairo versions with tox.
2012-12-12 09:26:52 +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
Guillaume Ayoub
1eb22ed63b
Remove spaces at the end of the text lines
2012-11-22 23:52:50 +01:00
Simon Sapin
bb5e5eb382
Add mbarkhau to authors.
2012-11-22 22:55:27 +01:00
Simon Sapin
0444be5fba
Fix PDF metadata with zoom != 1
2012-11-22 22:49:30 +01:00
Simon Sapin
e9013d0470
Add a test for PDF zoom.
2012-11-22 22:36:51 +01:00
Simon Sapin
85bbfa9258
Rename PDF scale to zoom, have the default be 1 rather than 0.75
...
The 0.75 factor is an implementation detail that should not be exposed
in the API.
2012-11-22 22:31:26 +01:00
Guillaume Ayoub
d2dea8ed56
Fix the size of the first line
2012-11-22 21:23:42 +01:00
Guillaume Ayoub
8c6f6a8189
Remove the width of space-character containers when line breaks are not preserved
2012-11-22 21:23:04 +01:00
Guillaume Ayoub
0b87357daf
Don't always use the whole text to get the first line of a pango layout
2012-11-22 21:21:28 +01:00
Simon Sapin
dda3817880
Merge branch 'patch-1' of https://github.com/mbarkhau/WeasyPrint
2012-11-22 20:10:09 +01:00
mbarkhau
0e09ce8ff9
Add scale factor to write_pdf of HTML class
2012-11-22 18:58:22 +01:00
mbarkhau
aa62d35664
Turn scale factor into parameter for write_pdf
2012-11-22 18:47:20 +01:00
Guillaume Ayoub
b54b9f54af
Fix the W3 testing suite web server
2012-11-16 02:07:56 +01:00
Simon Sapin
b588b883e9
Merge pull request #16 from kaikuehne/patch-1
...
Fix examples in docs/tutorial.rst
2012-11-07 05:58:32 -08:00
kaikuehne
a36da2bcae
Update docs/tutorial.rst
...
Typo fixes in docs/tutorial.
2012-11-07 14:57:16 +01:00
Simon Sapin
6f56613441
Do not require HtmlElement.
...
* Do not use element.base_url which only exists in lxml.html.HtmlElement
* Use lxml.etree.HtmlParser instead of lxml.html
This is one step toward using the html5lib parser, but see
https://github.com/Kozea/WeasyPrint/pull/12
2012-11-06 13:55:39 +01:00
Simon Sapin
63a2f352fc
Add Peter Moulder (aka. pjrm) to AUTHORS
...
… for his important contribution to the UA stylesheet. Thanks again!
2012-10-31 01:24:11 +01:00