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

665 Commits

Author SHA1 Message Date
Simon Sapin
fd276f1c9c Fix #54: min/max-width/height on block-level images. 2013-04-02 12:41:52 +02:00
Simon Sapin
c53a01f18f Changelog for v0.18. 2013-03-30 23:44:12 +01:00
Simon Sapin
cef113c5a7 Add background-repeat: round 2013-03-30 23:43:19 +01:00
Simon Sapin
b5de53169c Add backgroun-repeat: space 2013-03-30 22:49:47 +01:00
Simon Sapin
8a28f0f08a Compat with cairocffi 0.4 / CFFI 0.6 2013-03-30 20:55:23 +01:00
Simon Sapin
a11ac81bdd Fix #53: crash when backtracking for break-before/after: avoid 2013-03-28 18:25:16 +01:00
Simon Sapin
60526fecd5 Allow page breaks between empty blocks. 2013-03-28 18:22:00 +01:00
Simon Sapin
0f37260c24 Docs: mention converting pycairo contexts to cairocffi. 2013-03-28 16:41:51 +01:00
Simon Sapin
c854feece9 Fix #21: Check for 'data' URL scheme case-insensitively. 2013-03-28 13:33:28 +01:00
Simon Sapin
86bc8b4978 Fix #66: Resolve images’ auto width from non-auto height and intrinsic ratio. 2013-03-28 12:44:28 +01:00
Simon Sapin
31d258ba84 Bug fix: use each layer’s own painting (clip) area 2013-03-26 14:07:44 +01:00
Simon Sapin
99541864a1 Simplify background-image a bit. 2013-03-26 13:56:11 +01:00
Simon Sapin
4265b4115a Add syntax for two keywords in background-repeat. 2013-03-26 12:04:00 +01:00
Simon Sapin
3d4c94acdc Prepare for L3 background-repeat. 2013-03-25 19:40:27 +01:00
Simon Sapin
055203cd97 Parse background-size in the background shorthand. 2013-03-25 19:05:04 +01:00
Simon Sapin
35b3c1ad8d Upgrade background-position to Level 3. 2013-03-25 18:59:18 +01:00
Simon Sapin
7fbd46f734 Work around floating point errors when shrink-to-fit = max-content. 2013-03-21 15:51:16 +01:00
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