Guillaume Ayoub
de17c7c3a0
Support the "continue" property
2021-01-18 17:40:32 +01:00
Guillaume Ayoub
8a4a696175
Don’t display coverage when tests fail
2021-01-11 14:37:37 +01:00
Guillaume Ayoub
b2c7463701
Include witdh/height when calculating auto margins of absolute boxes
...
Fix #1264 .
2021-01-11 13:14:55 +01:00
Guillaume Ayoub
59b4e5a9e9
Remove specific license for tests
...
After discussing with Ghostscript’s owners, it’s not necessary to change the
license of the whole test suite.
2020-12-31 23:30:52 +01:00
Guillaume Ayoub
411c7dff7d
Remove PNG as supported export format
2020-12-31 23:26:40 +01:00
Guillaume Ayoub
093199d1ad
Fix typo
...
Fix #1277 .
2020-12-24 08:58:25 +01:00
Guillaume Ayoub
e83d5b772b
Remove 2to3 before installing Python 3
2020-12-22 17:31:06 +01:00
Guillaume Ayoub
fcdff0b935
Force installation of Homebrew packages
...
Python 3.9 doesn’t want to overwrite Python 2.7 binaries.
2020-12-22 17:25:36 +01:00
Guillaume Ayoub
5cb1f67018
Merge branch 'master' of github.com:Kozea/WeasyPrint
2020-12-22 16:58:02 +01:00
Guillaume Ayoub
c35a629032
Don’t try to get an earlier page break between columns.
...
Fix #1191 .
2020-12-22 16:51:27 +01:00
Guillaume Ayoub
9647b19516
Merge pull request #1268 from naveen521kk/new-names
...
Add new dll names
2020-12-22 15:45:42 +01:00
Guillaume Ayoub
a83824d6e1
Set font dictionary before use_references recursion
2020-12-21 14:38:18 +01:00
Guillaume Ayoub
c7b00e82e4
Add pattern type
2020-12-21 14:37:59 +01:00
Guillaume Ayoub
5f1710b74c
Use references for smasks in images
2020-12-20 13:57:36 +01:00
Guillaume Ayoub
e166a672f5
Use a font dictionary shareda across the whole document
2020-12-20 12:37:17 +01:00
Guillaume Ayoub
5e932d3fca
Revert "Use the same Resources dictionary across the whole document"
...
This reverts commit af92f3eba6
.
2020-12-19 20:06:16 +01:00
Guillaume Ayoub
e4bcb07d55
Use the font descriptor as a reference
2020-12-19 19:02:24 +01:00
Guillaume Ayoub
af92f3eba6
Use the same Resources dictionary across the whole document
2020-12-19 19:01:29 +01:00
Guillaume Ayoub
626177bd20
Include padding, border, padding when calculating inline-block width
...
Fix #1235 .
2020-12-14 07:12:41 +01:00
Syrus Dark
8635f538d7
fix line length
2020-12-14 09:30:35 +05:30
Syrus Dark
44d78f208c
Add new dll names
...
When building Pango with meson I get the following dll files as output.
So adding it.
2020-12-14 09:13:25 +05:30
Guillaume Ayoub
85cb892b11
Fix rounding glitches in tests
2020-12-13 20:30:15 +01:00
Guillaume Ayoub
7e7811d164
Add error message for pixel size assert
2020-12-13 15:52:33 +01:00
Guillaume Ayoub
a8e900110d
Don’t render layouts with no size
2020-12-13 15:07:35 +01:00
Guillaume Ayoub
118f88d7ce
Clean test configuration
2020-12-13 15:07:27 +01:00
Guillaume Ayoub
3288fa1f2b
Use a temporary file for ghostscript
2020-12-12 23:05:43 +01:00
Guillaume Ayoub
8fc505afdb
Try to always read input in blocks
2020-12-12 22:54:57 +01:00
Guillaume Ayoub
b2f7afd29d
Revert "Don’t compress streams"
...
This reverts commit d0ca0da6bb
.
2020-12-12 22:44:41 +01:00
Guillaume Ayoub
d0ca0da6bb
Don’t compress streams
2020-12-12 22:34:43 +01:00
Guillaume Ayoub
e8edd41d74
Fix parameter order for tests
2020-12-12 22:17:40 +01:00
Guillaume Ayoub
43552c15be
Back to normal…
2020-12-12 21:40:50 +01:00
Guillaume Ayoub
56d7dc4f64
Use neutral gsc executable name
2020-12-12 16:38:24 +01:00
Guillaume Ayoub
ca3e9ab752
Launch 32bit version of ghostscript on Windows
2020-12-12 16:34:06 +01:00
Guillaume Ayoub
c58cd4e7ca
Try to use explicit commandline-based ghostscript on Windows
2020-12-12 16:21:02 +01:00
Guillaume Ayoub
07e3673503
Print pdf on errors
2020-12-12 15:59:31 +01:00
Guillaume Ayoub
29666609f4
Print various things on errors
2020-12-12 15:37:40 +01:00
Guillaume Ayoub
8defa11c47
Make tests fail when an error is reported by GhostScript
2020-12-12 15:30:09 +01:00
Guillaume Ayoub
85cfc933c6
Mark one more failing test as xfail
2020-12-12 01:11:24 +01:00
Guillaume Ayoub
ddebd37f14
Don’t mix stdout and stderr for tests
2020-12-12 00:55:44 +01:00
Guillaume Ayoub
b7217e034f
Capture stderr for tests
2020-12-12 00:42:09 +01:00
Guillaume Ayoub
a994d32be3
Clean testing workflow
2020-12-12 00:42:01 +01:00
Guillaume Ayoub
75471f21e7
Update brew
...
Fonts require the new "verified" parameter introduced by Homebrew 2.6.0.
2020-12-12 00:09:26 +01:00
Guillaume Ayoub
05bb8bdc25
Really fix test
2020-12-11 23:37:54 +01:00
Guillaume Ayoub
97cd13fc54
Try to fix test relying on default font
2020-12-11 23:27:11 +01:00
Guillaume Ayoub
921d8f1973
Fix tests failing because of URL case
2020-12-11 00:36:04 +01:00
Guillaume Ayoub
562318f66c
Fix the way tests are launched on GitHub
2020-12-11 00:29:33 +01:00
Guillaume Ayoub
81f73ead2e
Use the weasyprint.otf font everywhere
...
Pango has a PANGO_SCALE value of 1024, making it really happy when fonts have a
cadratin value of 1024. Unfortunately, AHEM uses 1000, leading to rounding
errors.
We now use weasyprint.otf everywhere, with 1024. It breaks the exact 20/80
ratio between descent and ascent values, so that we need to use approximate
values for tests relying on an exact position of the baseline.
All the tests should pass, or be explicitely marked as failing.
2020-12-11 00:22:33 +01:00
Guillaume Ayoub
3798b220d6
Mark expected failing tests as xfail
2020-12-10 23:05:44 +01:00
Guillaume Ayoub
30c21d92e9
Fully remove Cairo from documentation and code
2020-12-10 22:47:27 +01:00
Guillaume Ayoub
f10b3b56c8
Fix error raised when SVG images are rendered
2020-12-08 15:51:35 +01:00