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
Guillaume Ayoub
b94546079d
Fix the embed and object links in docstrings
2016-08-04 19:20:37 +02:00
Guillaume Ayoub
e5083515f9
Remove useless print in tests
2016-07-28 17:47:50 +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
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
f90f20519e
Version 0.29
2016-06-17 14:09:59 +02:00
Guillaume Ayoub
50ebc20b97
Don't crash with floats with percents in positions
...
Fix #263
2016-05-16 14:56:34 +02:00
Guillaume Ayoub
35ea72b3f6
Version 0.28
2016-05-16 11:52:45 +02:00
Guillaume Ayoub
c308630243
Keep spaces where they are not allowed to collapse
2016-05-13 19:54:55 +02:00
Guillaume Ayoub
99d4372e6a
Don't justify lines where space is not collapsing
2016-05-13 19:53:11 +02:00
Guillaume Ayoub
42f0ffb908
Remove extra empty line
2016-05-08 16:53:00 +02:00
Guillaume Ayoub
f0912e4f2d
Don't use no-break spaces to avoid text wrapping
...
Fix #189
2016-05-08 16:44:57 +02:00
Guillaume Ayoub
29303da413
Don't crash when transform matrix isn't invertible
2016-05-08 15:53:58 +02:00
Guillaume Ayoub
92640de074
Don't crash when displaying floating ratio-only SVGs
2016-04-25 16:55:25 +09:00
Guillaume Ayoub
1b274ef570
Apply margins/borders for both table and wrapper
2016-04-25 09:10:22 +09:00
Guillaume Ayoub
49a8967ab0
Fix crashes due to corner cases on tables
...
Fix #305 .
2016-04-12 00:56:36 +02:00
Guillaume Ayoub
208cf6b89a
Version 0.27
2016-04-08 13:23:54 +02:00
Guillaume Ayoub
9556bf5376
Fix the layout of cells larger than tables
...
Fix #307 .
Many tests related to tables have been added in this commit. A lot of
these tests where failing *for different reasons* before this commit and
are real regression tests even if they look simple and stupid. They're
not duplicates even if they sometimes are almost the same.
2016-04-01 19:28:19 +02:00
Guillaume Ayoub
777ca829cc
Don't warn when drawing empty SVG files
2016-02-26 15:35:47 +01:00
Guillaume Ayoub
13fde51191
Don't crash with SVG images breaking CairoSVG
2016-02-26 15:29:05 +01:00
Guillaume Ayoub
b9af5666f5
Fix the intrinsic ratio calculation for SVG images
2016-02-26 15:28:43 +01:00
Guillaume Ayoub
d71ef5f4cb
Cut too long line
2016-02-26 14:36:22 +01:00
Guillaume Ayoub
f3b4fa2850
Enhance the support of SVG images
...
This commit adds two features:
- don't render SVG files twice anymore; and
- support SVG images with no intrinsic ratio.
2016-02-26 13:58:47 +01:00
Guillaume Ayoub
5def92e8b0
Test the 'rem' unit
2016-02-11 23:05:12 +01:00
Guillaume Ayoub
07e15db142
Add 'rem' support
...
This feature is kindly provided to you by Florian Demmer!
2016-02-11 23:02:53 +01:00
Guillaume Ayoub
41575e2f24
Version 0.26
2016-01-29 19:55:36 +01:00
Guillaume Ayoub
c32375982e
Fix table paddings and minor regressions
2016-01-29 18:50:51 +01:00
Guillaume Ayoub
c42bf6a803
Fix table row height when its height is not auto
2016-01-29 02:20:04 +01:00
Guillaume Ayoub
0eebd03ace
Remove padding from distributed excess width
2016-01-29 01:50:36 +01:00
Guillaume Ayoub
f8cf486af2
Rename assignatable to assignable
2016-01-29 01:07:39 +01:00
Guillaume Ayoub
c374640580
Remove useless import
2016-01-29 00:42:13 +01:00
Guillaume Ayoub
937c2cb67c
Respect width, min-width and max-width on tables
2016-01-29 00:39:51 +01:00
Guillaume Ayoub
a44e957a32
Don't calculate the total border spacing twice
...
Moreover, the result was false the second time!
2016-01-24 17:06:33 +01:00
Guillaume Ayoub
a5b8239773
Respect the empty-cells
property
2016-01-24 14:38:29 +01:00
Guillaume Ayoub
112c39be85
Don't crash on tables with rows but no columns
2016-01-24 14:35:01 +01:00
Guillaume Ayoub
26c1a40374
Fix test again
2016-01-22 11:57:18 +01:00
Guillaume Ayoub
d28f8470ab
Change test failing with some default fonts
2016-01-22 11:16:48 +01:00
Guillaume Ayoub
4e75ada4e0
Merge branch 'master' into tables
2016-01-21 14:34:26 +01:00
Guillaume Ayoub
d528a41aac
Fix forced width repartition for tables
...
And don't crash when rendering empty tables anymore.
2016-01-21 13:48:24 +01:00
Guillaume Ayoub
151162c028
Respect min- and max-height for inner adjustment
2016-01-21 13:47:16 +01:00