summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2024-06-26 20:05:14 +0930
committerAdrian Johnson <ajohnson@redneon.com>2024-06-27 07:07:22 +0930
commit6967beb24ec605a4028ed4d0d065eefc5eb70ceb (patch)
tree7ac10d081ae5f7e3367e1073b841a36b3b2570b4 /test
parent16dd5cd4c2fb74ad6ef0d0a221b97d0c222d259f (diff)
ps: fix max form size
Fixes: #845
Diffstat (limited to 'test')
-rw-r--r--test/mime-unique-id.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/mime-unique-id.c b/test/mime-unique-id.c
index aab93164d..8d4a16133 100644
--- a/test/mime-unique-id.c
+++ b/test/mime-unique-id.c
@@ -79,10 +79,13 @@
*
* If the size check fails, manually check the output and if the
* surfaces are still embedded only once, update the expected sizes.
+ *
+ * Note: The PS2 output will embed the image more than once due to the
+ * lower MAX_L2_FORM_DATA for PS2 in cairo-ps-surface.c.
*/
-#define PS2_EXPECTED_SIZE 417510
-#define PS3_EXPECTED_SIZE 381554
-#define PDF_EXPECTED_SIZE 162923
+#define PS2_EXPECTED_SIZE 626926
+#define PS3_EXPECTED_SIZE 381555
+#define PDF_EXPECTED_SIZE 162692
#define SIZE_TOLERANCE 5000
static const char *png_filename = "romedalen.png";