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

811 Commits

Author SHA1 Message Date
Guillaume Ayoub
eb134d3ded Deduplicate some code about borders 2013-12-09 19:51:59 +01:00
Guillaume Ayoub
e95aadcaa0 Small fix for borders 2013-12-09 19:25:36 +01:00
Guillaume Ayoub
09c9781de0 Use a way more simple way to draw dots in borders 2013-12-09 19:14:38 +01:00
Guillaume Ayoub
2e3203f79b Fix sign 2013-12-09 12:52:26 +01:00
Guillaume Ayoub
40963f59c4 Draw real ellipse arcs instead of bezier curves 2013-12-07 15:53:52 +01:00
Clément Plasse
3307be5d2c Fix offset 2013-12-06 19:00:20 +01:00
Clément Plasse
25a620e9fd Better choice of the transition point 2013-12-06 16:04:53 +01:00
Clément Plasse
bdbacdd8e3 Fix double clip for borders 2013-12-06 13:06:40 +01:00
Guillaume Ayoub
6524ab3ac2 Add left and right borders 2013-12-06 11:12:03 +01:00
Guillaume Ayoub
766171c11f Group code for top and bottom borders 2013-11-19 16:02:52 +01:00
Guillaume Ayoub
5d99fdd54d Add support for bottom borders 2013-11-19 14:37:49 +01:00
Guillaume Ayoub
21320ab538 Handle cases when height>width for border radius 2013-09-17 20:17:11 +02:00
Guillaume Ayoub
d56c799c73 Merge branch 'master' into border3 2013-09-17 13:08:31 +02:00
Guillaume Ayoub
6f5d6124a4 Double clip borders 2013-09-14 11:13:53 +02:00
Guillaume Ayoub
aef454122b Small fix 2013-09-14 10:24:40 +02:00
Guillaume Ayoub
a49f456c21 Small fixes about borders 2013-09-14 10:21:25 +02:00
Guillaume Ayoub
a0bf5981ad Fix stupid bug in border radius index for dot/dash step 2013-09-12 16:50:17 +02:00
Simon Sapin
75cdc9baef Add 'font-stretch' in the 'font' shorthand. 2013-09-09 21:14:30 +01:00
Florian Mounier
f7c363e546 logging.warn is still deprecated 2013-08-19 14:40:51 +02:00
Florian Mounier
e3d7bad55b Be careful logging.warn is deprecated 2013-08-19 14:38:09 +02:00
Guillaume Ayoub
3e3accd619 Merge branch 'master' into border3 2013-08-14 12:50:32 +02:00
Guillaume Ayoub
3d816023dd Remove stupid line in test, fixes pypy support 2013-08-12 13:32:18 +02:00
Guillaume Ayoub
324e3f7867 Don't crash when root element is not displayed (fix #113) 2013-08-04 14:52:47 +02:00
Guillaume Ayoub
fd5cbad513 Handle percentages for column groups 2013-08-03 16:35:19 +02:00
Guillaume Ayoub
5b4b67e67f Handle (some) percentages for table columns and cells 2013-08-02 18:58:56 +02:00
Guillaume Ayoub
0b0edc02e3 Use 'm' instead of 'l' charater in tests based on 'em' unit 2013-08-02 12:30:34 +02:00
Simon Sapin
3589303449 Bump version number, there is at least PDF metadata as a new feature. 2013-07-26 13:56:13 +01:00
Guillaume Ayoub
5fc60f9041 Fix borders (only works for top now) 2013-07-22 16:11:59 +02:00
Simon Sapin
eb08733938 Add PDF metadata parsed from HTML. Fix #77.
<title> → /Title
<meta name=author> → /Author
<meta name=description> → /Subject
<meta name=keywords> → /Keywords
<meta name=generator> → /Creator
<meta name=dcterms.created> → /CreationDate
<meta name=dcterms.modified> → /ModDate
"WeasyPrint vX.Y" → /Producer
2013-07-22 00:13:11 +01:00
Simon Sapin
52c06894b7 Docs: add an example combining documents into one PDF file. 2013-07-14 09:22:04 +01:00
Simon Sapin
783de80f30 Tentative fix for #97: w.HTML(positional_argument) crashes Python < 2.6.5 2013-07-11 18:43:11 +01:00
Pierre-Alain Mignot
76b87c82f4 Fix #101: Write PDF bookmarks/outline correctly.
The PDF spec says that the target of a bookmark/outline entry contains
the *object ID* of the target page. We previously wrote the *page number*,
which for some reason still worked in some PDF viewers.
2013-06-28 18:33:14 +01:00
Simon Sapin
3313c061ae Fix #84: Mak loading an author stylesheet not fatal. 2013-06-20 22:11:19 +01:00
Simon Sapin
d8014d28ad Image loading: only swallow exception related to fetching or decoding. 2013-06-20 22:06:47 +01:00
Simon Sapin
05e1cb22b2 URL fetching: enforce closing sockets/files with a context manager. 2013-06-20 15:16:47 +01:00
Simon Sapin
711d5aa19b Small refactoring. 2013-06-20 12:40:21 +01:00
Simon Sapin
9c9fc1ae2d Do not get MIME types base on URLs. 2013-06-20 12:40:11 +01:00
Simon Sapin
9d5cebb5ce URL fetching: use an intermediate function rather than a wrapper 2013-06-20 12:17:03 +01:00
Simon Sapin
ae6764143c Fix a possible use-after-free. 2013-06-19 10:04:37 +01:00
Simon Sapin
1be520f1b0 Merge branch 'master' of git://github.com/pikhovkin/WeasyPrint 2013-06-18 18:18:19 +01:00
Simon Sapin
12966087ee Changelog for v0.19.2 2013-06-18 16:40:18 +01:00
Simon Sapin
bed4a41c41 Avoid duplicating the check for cairo MIME data support. 2013-06-18 15:18:05 +01:00
Sergey Pikhovkin
8b86643e0e Copy table.column_positions
Copy list if the element is inserted on each page (eg. as https://gist.github.com/pikhovkin/5642563), else expanding table.column_positions
2013-06-18 17:47:39 +04:00
Simon Sapin
e8fac4b840 Fix #99: JPEG image not loading with cairo 1.8.x 2013-06-18 12:48:06 +01:00
Sergey Pikhovkin
697c52dc00 Copy list
Copy list if the element is inserted on each page (eg. as https://gist.github.com/pikhovkin/5642563), else expanding table.column_positions
2013-06-14 16:32:15 +04:00
Guillaume Ayoub
856890e0b1 Fix dotted and dashed borders 2013-06-13 17:52:39 +02:00
Guillaume Ayoub
6b8d32a501 Don't validate the lengths in border-radius twice 2013-06-13 16:55:40 +02:00
Guillaume Ayoub
8463ba0c46 Cast round() to an int 2013-06-12 21:50:29 +02:00
Guillaume Ayoub
c16953cf3f Fix dotted and dashed borders, fixes all tests
Rounded dotted and dashed borders are still broken
2013-06-10 23:47:10 +02:00
Guillaume Ayoub
34c6fe3de3 Handle ridge and groove 2013-06-07 19:46:35 +02:00