Simon Sapin
7966e9fed6
Generalize hinting and resolution
...
... in the low-level API, not just PNG output.
2012-09-20 19:24:58 +02:00
Simon Sapin
20fe60040d
Document low-level output functions.
2012-09-20 17:57:15 +02:00
Simon Sapin
9c2574fbd1
0.15 requires tinycss 0.3
2012-09-20 17:25:58 +02:00
Simon Sapin
933554f7ed
Moar docs for the low-level API.
2012-09-20 17:21:44 +02:00
Simon Sapin
19dd654678
Adapt docs for 0.15
2012-09-20 17:08:03 +02:00
Simon Sapin
a0853a3fc1
Merge branch 'sphinx-doc'
2012-09-20 16:53:33 +02:00
Simon Sapin
dd7ab9e2a6
More polish on documentation.
2012-09-20 16:29:33 +02:00
Simon Sapin
87d5741376
Integrate the sphinx docs with docstrings.
2012-09-19 17:37:52 +02:00
Simon Sapin
70d8751868
Include the docs from the website.
2012-09-19 15:20:34 +02:00
Simon Sapin
29eff8fcee
Merge branch 'website-doc' into sphinx-doc
2012-09-19 15:15:15 +02:00
Simon Sapin
7228a4bb3f
Start some documentation with Sphinx
2012-09-19 15:11:02 +02:00
Simon Sapin
30155388ad
Prepare for merging the docs into master.
...
Move documentation pages into /docs, remove everything else.
2012-09-19 15:02:12 +02:00
Simon Sapin
a0d521a9f9
Mention custom fonts.
2012-09-18 14:40:49 +02:00
Simon Sapin
6784b9a887
Depend on tinycss 0.3, for the @page:blank test.
2012-09-18 12:58:58 +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
b12c987b04
Add changelog entry for the preformance fix.
2012-09-18 12:58:57 +02:00
Simon Sapin
c7422f721d
Typo fix, thanks @jdahlin
2012-09-16 11:25:02 +03:00
Simon Sapin
0ff73c49bc
Cache intermediate results for intrinsic widths on tables.
...
This fixes huges performance problems when a large table is split
across many pages.
2012-09-13 11:46:13 +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
Simon Sapin
dcd8cbe9a7
Add Johan Dahlin to AUTHORS
2012-09-12 16:36:12 +02:00
Simon Sapin
a29a37073f
Merge commit 'FETCH_HEAD^' from git://github.com/jdahlin/WeasyPrint.git
2012-09-12 16:35:00 +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
c0282bb000
Add a test for @page:blank
2012-09-12 16:22:38 +02:00
Simon Sapin
35540becb9
Add a work-around for some PyGTK installations.
2012-09-11 18:26:39 +02:00
Guillaume Ayoub
9624eb6996
Remove Pystacia from the deps
2012-08-27 17:01:59 +02:00
Guillaume Ayoub
50210b266f
Add support for @page:blank pseudo-class
2012-08-24 00:05:28 +02:00
Simon Sapin
39b553fae7
Add support for font-stretch, fix #7
...
The value is passed to Pango as-is. It may have no effect if
(for example) the chosen font has no expanded variant.
2012-08-17 17:37:33 +02:00
Simon Sapin
84915feeb2
Suggest Navigator after installing.
2012-08-11 10:11:50 +03:00
Simon Sapin
5ad6873236
Forget Navigator in WeasyPrint Navigator
2012-08-11 10:09:13 +03:00
Simon Sapin
4769d33e95
Document the Navigator.
2012-08-11 10:07:54 +03:00
Simon Sapin
4f9f54250a
Install docs: lxml on Homebrew
2012-08-03 19:18:32 +03:00
Simon Sapin
c6b23e7431
Update for 0.14
2012-08-03 18:04:07 +02:00
Simon Sapin
a09eb52b97
Tag v0.14
2012-08-03 17:55:14 +02:00
Simon Sapin
c2a88cfafc
Fix saving of PNG images for failed tests.
2012-08-03 17:19:18 +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
2614821fa9
Add support for <base href="..."> element in HTML.
2012-08-03 15:22:26 +02:00
Simon Sapin
d1971b6e63
Remove unused imports.
2012-08-03 13:32:42 +02:00
Simon Sapin
4abf401f9e
Simplify Document and remove magic properties.
2012-08-03 13:00:14 +02:00
Simon Sapin
f4e6de438f
Remove/adapt tests using Document.formatting_structure
2012-08-03 12:11:34 +02:00
Simon Sapin
ec8cbc6c24
Remove one-line methods in Document.
2012-08-03 11:51:58 +02:00
Simon Sapin
4384cb9e83
Moving to IRC.
2012-08-02 20:50:47 +03:00
Simon Sapin
a19c02f7b1
Add --resolution and --base-url to the command-line API.
2012-08-02 17:19:52 +02:00
Simon Sapin
eab2646dcc
Fix base_url set to a directory name.
...
With base_url='/a/b', a relative URL 'c' was resolved to '/a/c'.
Now it is resolved to '/a/b/c' if /a/b is a directory, '/a/c'
otherwise. This is most likely the expected behavior.
2012-08-02 17:19:34 +02:00
Simon Sapin
3b769e05c4
Add tests and changelog for the new media_type API.
2012-08-02 13:59:44 +02:00
Simon Sapin
1864d3365a
s/medium/media_type/ s/user_agent_stylesheets/ua_stylesheets/
2012-08-02 13:04:31 +02:00