diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-02-22 22:09:02 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-02-23 00:42:06 +0100 |
commit | f02aa74bf5387c30e4ff6082beeb4b0d078b6294 (patch) | |
tree | 51cbcd2192a8207081dd09ca296099411e1bb7da /examples/qtest/overlay-page.test | |
parent | 8e8c0d8290409358488b2a04af81771989944552 (diff) | |
download | qpdf-f02aa74bf5387c30e4ff6082beeb4b0d078b6294.tar.zst |
Update pdf-overlay-page example to copy annotations
Diffstat (limited to 'examples/qtest/overlay-page.test')
-rw-r--r-- | examples/qtest/overlay-page.test | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/qtest/overlay-page.test b/examples/qtest/overlay-page.test index 68e695d3..a946b0ca 100644 --- a/examples/qtest/overlay-page.test +++ b/examples/qtest/overlay-page.test @@ -18,9 +18,16 @@ $td->runtest("compare files", {$td->FILE => "a.pdf"}, {$td->FILE => "out.pdf"}); +$td->runtest("overlay-page with fields/ annotations", + {$td->COMMAND => "pdf-overlay-page in.pdf annotations.pdf a.pdf"}, + {$td->STRING => "", $td->EXIT_STATUS => 0}); +$td->runtest("compare files", + {$td->FILE => "a.pdf"}, + {$td->FILE => "annotations-out.pdf"}); + cleanup(); -$td->report(2); +$td->report(4); sub cleanup { |