Guillaume Ayoub
ee60caa810
Fix letter-spacing handling at block boundaries
...
Fix #266 without adding extra chacarcters. The specification is not
clear about how letter-spacing must be implemented, but the browsers
seem to add an extra space after each character. Pango does this too,
but it doesn't do it at the end of the last character. This commit adds
this extra space after the last character.
2016-08-20 15:26:16 +02:00
Guillaume Ayoub
a0b70d1153
Add more and more u''
2016-08-19 17:50:24 +02:00
Guillaume Ayoub
11a84b4f6f
Force unicode strings
2016-08-19 17:24:27 +02:00
Guillaume Ayoub
a43d5fc0bb
Cut long lines
2016-08-19 16:57:01 +02:00
Guillaume Ayoub
b1307dfee2
Merge branch 'manual-hyphenation' of https://github.com/jdus/WeasyPrint into jdus-manual-hyphenation
2016-08-19 16:42:52 +02:00
Guillaume Ayoub
1be9528cb8
Don't crash when a marker doesn't have a baseline
2016-08-17 19:46:15 +02:00
Guillaume Ayoub
6223bd46c4
Merge branch 'morlandi-master'
2016-08-17 19:31:20 +02:00
Guillaume Ayoub
c6fb4ce92a
Use the baseline to vertically align list markers
2016-08-17 19:30:38 +02:00
Guillaume Ayoub
7120d5fc15
Merge branch 'master' of https://github.com/morlandi/WeasyPrint into morlandi-master
2016-08-17 19:01:45 +02:00
Guillaume Ayoub
62c39b8029
Fix links with non-ASCII characters for Python 2
...
Fix #322 .
2016-08-17 18:30:53 +02:00
Guillaume Ayoub
e4593d4ad7
Merge branch 'master' of github.com:Kozea/WeasyPrint
2016-08-17 18:23:48 +02:00
Guillaume Ayoub
e1506ea026
Fix the use of the ratio for inline replaced boxes
2016-08-17 17:59:51 +02:00
Guillaume Ayoub
3b2cef6bad
Merge pull request #345 from Kozea/filenames
...
Fix the Windows support
2016-08-17 16:50:18 +02:00
Guillaume Ayoub
ddefd4bb52
Use FILESYSTEM_ENCODING when encoding file:// URLs
2016-08-17 00:52:11 +02:00
Guillaume Ayoub
e346982b03
Don't try to make urlopen's job
2016-08-16 23:36:54 +02:00
Guillaume Ayoub
59e4fb5146
Change the way filenames are managed
2016-08-16 22:15:18 +02:00
Guillaume Ayoub
55b63c9d60
1 generator = 1 debugging hour lost
2016-08-15 20:11:01 +02:00
Guillaume Ayoub
0c0d4bb96d
Small fixes for columns
2016-08-15 19:22:40 +02:00
Guillaume Ayoub
1f5ff70882
Fix the drawing order of borders and column rules
2016-08-15 19:22:05 +02:00
Guillaume Ayoub
1bdbae99dc
Remove a useless enumerate
2016-08-15 17:20:26 +02:00
Guillaume Ayoub
2a9bd30d13
Use a better column balancing algorithm
2016-08-15 17:15:57 +02:00
Guillaume Ayoub
4e4e0a48c0
Fix the column rule drawing
2016-08-15 17:15:39 +02:00
Guillaume Ayoub
fa8c302c69
Fix the "columns" validation
2016-08-15 17:15:24 +02:00
Guillaume Ayoub
e285acda8e
Draw column rules
2016-08-15 03:34:40 +02:00
Guillaume Ayoub
2de6429e53
Fix widths and gaps
2016-08-15 02:38:14 +02:00
Guillaume Ayoub
b37594e469
Flake8
2016-08-15 01:03:06 +02:00
Guillaume Ayoub
73564d6265
Set the height of the columns
2016-08-15 00:59:41 +02:00
Guillaume Ayoub
33aa5c6f6b
Initial support of multi-column layouts
...
Related to #60 .
This commit adds a really simple support of multi-column layouts.
2016-08-14 23:12:30 +02:00
Joel Steres
9620c71c13
Merge upstream master release 0.30 into letter-spacing-workaround patch branch
2016-08-04 11:23:30 -07:00
Guillaume Ayoub
b94546079d
Fix the embed and object links in docstrings
2016-08-04 19:20:37 +02:00
Guillaume Ayoub
567bb9925e
Fix links and code in doc
2016-07-29 00:42:28 +02:00
Guillaume Ayoub
05ce2b198e
Fix lists in doc
2016-07-29 00:41:36 +02:00
Guillaume Ayoub
f53334ba0a
Officially drop support of Python 2.6, 3.1 and 3.2
...
These old versions are not supported anymore since February 2016 for 3.2
and October 2013 (!) for 2.6. It's becoming even hard to use and to
test, as more and more libraries and tools (flake8 for example) decide
to drop the support of these versions too.
2016-07-28 18:25:12 +02:00
Guillaume Ayoub
e5083515f9
Remove useless print in tests
2016-07-28 17:47:50 +02:00
Guillaume Ayoub
e56bd602f7
Update the Install documentation page
...
Fix #329 .
2016-07-28 17:24:09 +02:00
Guillaume Ayoub
cc8d887027
Merge pull request #337 from graingert/patch-3
...
enable universal wheels
2016-07-19 14:50:24 +02:00
Thomas Grainger
d16cd8c098
enable universal wheels
2016-07-19 13:31:17 +01:00
Guillaume Ayoub
2c2ade9de9
Add Python 3.5 in setup.py's supported versions
2016-07-18 17:38:24 +02:00
Guillaume Ayoub
ba66649c19
Version 0.30
2016-07-18 17:33:42 +02:00
Guillaume Ayoub
da2e3b3f18
Fix the way *_encoding properties are handled
...
See #334
2016-07-15 18:31:58 +02:00
Guillaume Ayoub
5471ac9e6d
Try to update setuptools again
2016-07-15 18:00:16 +02:00
Guillaume Ayoub
e0f08bc6e5
Update setuptools for tests
2016-07-15 17:56:34 +02:00
Guillaume Ayoub
f1019b876a
Fix the html5lib-0.99999999 support
...
Fix #334 .
2016-07-15 17:50:31 +02:00
Guillaume Ayoub
902f5e20da
Re-add hack to avoid floating points errors
...
Fix #325 and shouldn't reopen #288 . Now that fac5ee9
fixes line-cutting
bug when drawing, we can use a much lower relative tolerance inspired
from PEP 485 (1e-9 instead of 1e-3).
Tests have been added with random values, as results highly depend on
the version of Pango used and on hinting properties depending on the
system used to launch the tests. They are probably longer than required,
but they try hard to prevent #288 and #325 from coming back.
2016-06-25 03:29:15 +02:00
Guillaume Ayoub
52d5c9a225
Fix Acid2 test
2016-06-25 01:35:23 +02:00
Guillaume Ayoub
570034a7db
Remove absolute position for print
2016-06-24 13:12:35 +02:00
Guillaume Ayoub
07930455d2
Try again to use a custom CSS file
2016-06-24 13:09:19 +02:00
Guillaume Ayoub
aec0b502ea
Try to fix the height of content for print
2016-06-24 12:46:06 +02:00
Joel Steres
87c3de7ee5
Merge upstream master release 0.29 into letter-spacing-workaround patch branch
2016-06-17 11:48:03 -07:00
Guillaume Ayoub
f90f20519e
Version 0.29
2016-06-17 14:09:59 +02:00