From d271adb457fe177908e3ab35164607b41ce83a88 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Fri, 16 Jun 2023 09:44:18 +0200 Subject: [PATCH] Add a test to check that the compression is ok when saving an annotation --- test/pdfs/.gitignore | 1 + test/pdfs/empty.pdf | Bin 0 -> 4920 bytes test/unit/api_spec.js | 43 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100755 test/pdfs/empty.pdf diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore index 192ec0c4524215..252d61271c4347 100644 --- a/test/pdfs/.gitignore +++ b/test/pdfs/.gitignore @@ -601,3 +601,4 @@ !issue16538.pdf !freetexts.pdf !issue16553.pdf +!empty.pdf diff --git a/test/pdfs/empty.pdf b/test/pdfs/empty.pdf new file mode 100755 index 0000000000000000000000000000000000000000..d6d144f529bc8bc26eb2e3248acd70a0ba3bf67f GIT binary patch literal 4920 zcmeHLZEO=|93L=VEUUr9Aexvw7N#J(KF@P^z3xg^=-M@GuB>d;p_90KdAb$aUUR*& zZoxQ=L`ZplP1-}C!F?f+jN3r8627M%5$e?I?}(}6KSK$EvP{eIY<%n(UW4iOb#*baD+MX&>4 z4z>WVz{3snZ5;3d_QLg`2k;!GYj|@Y;3OHVvQP2opt9NlenyIqET_rSj=a z4sbB06E&$Anhr1<2*5}(We^=kQj$SRDzG)&XaFM`UnguQ znLeW*aL5d1o0(`M?9?=aMpRtyqR0R&!1!R6z)hVb0lRxJplcL@oS_pb?R4~Cl4W&C zuiV=y%e}u!^6!&-ckdW~2z*j=ADTPnbWo(qqGil-hNK$>og|zN;jx{OF+H7y|ssatOK#nhws_6tnrn?o>*P?;w$Lp4#%Z= ztNWJlJAOMlr*>J**bnm;*hE;&zRZv)F(g$oBr|J@SV!JSQO@LmQ2ZK``slM*d@h0% zqM|9SugVb2RnrOSTDDm$^dL8dpMC_)(z{or_suX$*&y9Qm3Il9+;1y9U2Qp$5BLml##E+cJ)mF+??)QyhCM`9!V zQzOU52h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