mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 09:58:12 +02:00
pdf-tagged-text test: disable object stream compression
to allow the test to find the strings it is looking for.
This commit is contained in:
parent
90193cc3a2
commit
6b8d8712fb
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue