Tweak pdf-filter-tokens to be less sensitive to floating point

Switch output to QDF for easier diffing
Simplify input image
Reduce decimal places

This works around an issue were, for certain versions, the mingw32
tests failed because of irrelevant floating point rounding issues in
the test output.
This commit is contained in:
Jay Berkenbilt 2023-05-20 12:21:22 -04:00
parent 32ae60b6d6
commit 5f02c7c9e7
3 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ main(int argc, char* argv[])
QPDFWriter w(pdf, outfilename);
w.setStaticID(true); // for testing only
w.setQDFMode(true);
w.write();
} catch (std::exception& e) {
std::cerr << whoami << ": " << e.what() << std::endl;

Binary file not shown.

Binary file not shown.