Guillaume Ayoub
8ae09175eb
Typo
2021-12-06 16:39:25 +01:00
Guillaume Ayoub
d0f30fcb8a
Fix tests for floats
2021-12-06 16:14:55 +01:00
Guillaume Ayoub
dd14bb968b
Save images in tests when there’s the wrong number of pages
2021-12-06 15:50:55 +01:00
Lucie Anglade
22efdc832b
More text in normal flow for absolute/float split tests
2021-12-05 20:08:04 +01:00
Guillaume Ayoub
64797e77f4
Fix test
2021-12-05 19:57:17 +01:00
Guillaume Ayoub
c101e0c6a8
Merge branch 'master' of github.com:Kozea/WeasyPrint
2021-12-05 19:17:05 +01:00
Guillaume Ayoub
379be1e575
Include non-printable characters width during rendering
...
Fix #1515 . Related to #1508 .
2021-12-05 19:15:39 +01:00
Lucie Anglade
06fe73d54b
Move length check
2021-12-04 23:48:44 +01:00
Lucie Anglade
f0384d1fcf
Check if the expected result and the computed one have the same number of pixels.
2021-12-04 17:45:53 +01:00
Lucie Anglade
be71cc6e66
Add xfail on failing tests
2021-12-04 17:44:35 +01:00
Lucie Anglade
7f9503470a
Fix expected pixels and add xfails
2021-12-04 17:44:10 +01:00
Lucie Anglade
c761879ade
Test absolute split
2021-12-04 16:56:50 +01:00
Lucie Anglade
fcea5f02df
Test floats split
2021-12-04 16:56:39 +01:00
Lucie Anglade
2c77f5f2f9
Fix indent
2021-12-04 16:53:50 +01:00
Lucie Anglade
fb12d2ca83
Test floats split
2021-12-04 16:33:54 +01:00
Guillaume Ayoub
5ce71e48fe
Merge branch 'master' of github.com:Kozea/WeasyPrint
2021-11-29 15:08:51 +01:00
Guillaume Ayoub
80b88db154
Don’t crash when the font size is really small
...
Fix #1499 .
2021-11-29 15:08:18 +01:00
Guillaume Ayoub
677b083d78
Merge pull request #1505 from ColinKinloch/woff_cache
...
Reuse decompressed woff files based on hash
2021-11-29 12:24:43 +01:00
Colin Kinloch
82f98b16ab
Correct comment on woff font test
2021-11-28 20:41:27 +00:00
Colin Kinloch
a273b08a59
Fix woff cache read and add woff cache test
2021-11-28 20:30:55 +00:00
Guillaume Ayoub
5ebb9db93f
Merge branch 'parallel-out-of-flow'
2021-11-28 20:06:05 +01:00
Guillaume Ayoub
424f080311
Don’t draw empty glyphs at all
...
Fix #1508 .
2021-11-28 19:47:37 +01:00
Colin Kinloch
4549913644
Add test to make sure woff fonts load and fix typo
2021-11-24 20:10:28 +00:00
Colin Kinloch
63a7513bed
Correct line length and missing import
2021-11-23 17:26:34 +00:00
Colin Kinloch
6d69d92bbd
Reuse decompressed woff files based on hash
2021-11-23 16:44:51 +00:00
Guillaume Ayoub
509ab9379f
Merge branch 'master' of github.com:Kozea/WeasyPrint
2021-11-19 10:59:02 +01:00
Guillaume Ayoub
f6c29abddc
Set Document’s optimize_size property as private
2021-11-19 10:57:59 +01:00
Lucie Anglade
e7cdd808cc
Fix #1491 .
...
Put InlineBoxes directly in BlockBox instead of replacing them.
2021-11-18 18:44:33 +01:00
Guillaume Ayoub
aafb119e29
Copy boxes when using them in stacking contexts
...
If we don’t copy the boxes, rendering pages twice will fail because creating
stacking contexts can change the boxes’ children.
Fix #1473 .
2021-11-14 19:41:10 +01:00
Guillaume Ayoub
58c9dbc231
Add an option to return split images when testing PNGs
2021-11-14 19:41:04 +01:00
Guillaume Ayoub
837d64111b
Use the BATCH mode of ghostscript
...
Without this mode, we get the "GS>" prompt at the end of the standard output.
2021-11-14 19:27:34 +01:00
Guillaume Ayoub
046f27bf98
Split blocks in blocks when possible
...
Related to #1476 .
2021-11-14 13:25:04 +01:00
Guillaume Ayoub
dd783efaa9
Merge branch '53.x'
2021-11-14 10:27:11 +01:00
Guillaume Ayoub
8441685ee4
Version 53.4
2021-11-14 10:21:44 +01:00
Guillaume Ayoub
7e7b1d7e91
Include the font hash to create the font name
...
Using the font hash avoids collisions when we have the same font description
but not the same hash, for example when the same font is used in multiple HTML
instances.
It could be possible to only store the font once, this solution is not optimal
but this more reliable.
Fix #1489 .
2021-11-13 19:17:24 +01:00
Guillaume Ayoub
43d0e5442d
Include the font hash to create the font name
...
Using the font hash avoids collisions when we have the same font description
but not the same hash, for example when the same font is used in multiple HTML
instances.
It could be possible to only store the font once, this solution is not optimal
but this more reliable.
Fix #1489 .
2021-11-13 19:05:31 +01:00
Guillaume Ayoub
3aa0683e80
Update documentation about the required version of html5lib
2021-11-13 17:52:29 +01:00
Guillaume Ayoub
d6736bf0f4
Merge pull request #1492 from pablodgonzalez/patch-1
...
Bump html5lib version
2021-11-13 17:51:07 +01:00
Guillaume Ayoub
8a8bfa31fe
Don’t continue to render tables when a row is split
2021-11-13 16:45:31 +01:00
Guillaume Ayoub
183d160663
Remove top and bottom borders from tables when they’re split
2021-11-13 16:44:39 +01:00
Pablo González
07dcb058bd
Bump html5lib version
2021-11-10 17:43:00 -03:00
Guillaume Ayoub
f46e254107
Fix column height with column-span content
...
Fix #1094 .
2021-11-10 21:20:30 +01:00
Guillaume Ayoub
ed20d94c49
Don’t restore current point after empty paths
...
See Kozea/CairoSVG#346 .
2021-11-06 09:23:54 +01:00
Guillaume Ayoub
59f76368fc
Merge branch '53.x'
2021-11-05 22:12:08 +01:00
Guillaume Ayoub
592b621999
Fix images embedded from multiple pages
...
Fix #1486 .
2021-11-05 22:11:09 +01:00
Guillaume Ayoub
f97d3fed5e
Simplify reference creation for API test
...
This change also uses the same source file for reference and tests, allowing
identifiers to be related to URLs.
Related to #1486 .
2021-11-05 22:02:37 +01:00
Guillaume Ayoub
ce44a72318
Fix images embedded from multiple pages
...
Fix #1486 .
2021-11-05 21:59:09 +01:00
Guillaume Ayoub
d62974e0b4
Simplify reference creation for API test
...
This change also uses the same source file for reference and tests, allowing
identifiers to be related to URLs.
Related to #1486 .
2021-11-05 21:33:47 +01:00
Guillaume Ayoub
dce0e56aeb
Merge branch '53.x'
2021-11-04 09:36:38 +01:00
Guillaume Ayoub
e386bc314c
Merge branch '53.x' of github.com:Kozea/WeasyPrint into 53.x
2021-11-04 09:35:24 +01:00