mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 10:58:58 +00:00
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:
parent
32ae60b6d6
commit
5f02c7c9e7
@ -204,6 +204,7 @@ main(int argc, char* argv[])
|
|||||||
|
|
||||||
QPDFWriter w(pdf, outfilename);
|
QPDFWriter w(pdf, outfilename);
|
||||||
w.setStaticID(true); // for testing only
|
w.setStaticID(true); // for testing only
|
||||||
|
w.setQDFMode(true);
|
||||||
w.write();
|
w.write();
|
||||||
} catch (std::exception& e) {
|
} catch (std::exception& e) {
|
||||||
std::cerr << whoami << ": " << e.what() << std::endl;
|
std::cerr << whoami << ": " << e.what() << std::endl;
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user