diff --git a/test/data.cmake b/test/data.cmake index 43b6b11d..7cde26c5 100644 --- a/test/data.cmake +++ b/test/data.cmake @@ -17,9 +17,9 @@ odr_test_data( odr_test_data( PATH "reference-output/odr-public" URL "https://github.com/opendocument-app/OpenDocument.test.output.git" - REVISION "5d817e661fd9b83aeadf9f9f1b829b658a10303b") + REVISION "e8413d37cfcd943f88bc05b325ee3bb91912212d") odr_test_data( PATH "reference-output/odr-private" URL "https://github.com/opendocument-app/OpenDocument.test-private.output.git" - REVISION "000a6b92c4498797edd0e47a875ff1124ba4eef8") + REVISION "bfe777c6e3236b892dc125d61997036224208fbc") diff --git a/test/src/html_output_test.cpp b/test/src/html_output_test.cpp index 55cdca3a..9cc58036 100644 --- a/test/src/html_output_test.cpp +++ b/test/src/html_output_test.cpp @@ -168,6 +168,11 @@ TEST_P(HtmlOutputTests, html_meta) { Path(output_path_prefix).parent().join(RelPath("resources")).string(); config.relative_resource_paths = true; config.editable = true; + // Keep a text document's page margins instead of reflowing it to the + // viewport. The Android viewer turns this on by default, so leaving it off + // here left the reference output showing a rendering path most readers never + // see — including the page box and the backdrop it brings with it. + config.text_document_margin = true; config.spreadsheet_limit = TableDimensions(4000, 500); config.page_range_end = 100; config.format_html = true;