diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2021-07-26 18:33:34 +0930 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2021-07-26 18:33:34 +0930 |
commit | 6b8d8712fbf62d54e79ec4788e1cea3e5ffa53e9 (patch) | |
tree | 307c92b994e41d578f9670458d02ed4ea7862b5b /test/pdf-tagged-text.c | |
parent | 90193cc3a2259356ac068f2491f469e10abed141 (diff) | |
download | cairo-6b8d8712fbf62d54e79ec4788e1cea3e5ffa53e9.tar.gz |
pdf-tagged-text test: disable object stream compression
to allow the test to find the strings it is looking for.
Diffstat (limited to 'test/pdf-tagged-text.c')
-rw-r--r-- | test/pdf-tagged-text.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pdf-tagged-text.c b/test/pdf-tagged-text.c index 95b779306..62233a7f3 100644 --- a/test/pdf-tagged-text.c +++ b/test/pdf-tagged-text.c @@ -525,6 +525,9 @@ preamble (cairo_test_context_t *ctx) xasprintf (&filename, "%s/%s.pdf", path, BASENAME); surface = cairo_pdf_surface_create (filename, PAGE_WIDTH, PAGE_HEIGHT); + /* Disable object stream compression as this prevents check_created_pdf() from working */ + cairo_pdf_surface_restrict_to_version (surface, CAIRO_PDF_VERSION_1_4); + cr = cairo_create (surface); create_document (surface, cr); |