aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qtest
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-01-31 17:59:02 +0100
committerJay Berkenbilt <ejb@ql.org>2018-02-19 03:05:46 +0100
commit25988e8d108ac036329c2a5e8b628d9ac4920d0a (patch)
tree2a06eb5415e9ccd4c47c93344d666923b8372f73 /examples/qtest
parentcc108a7f1b82e4324b419f5be777063dadba0337 (diff)
downloadqpdf-25988e8d108ac036329c2a5e8b628d9ac4920d0a.tar.zst
Bug fix: content normalizer should not add trailing newline
Adding a trailing newline in content normalization damages files whose contents are split across streams in the middle of tokens. Let QPDFWriter add the newline with the indicator to ignore the newline, which it already does. This changes the way some qdf files look.
Diffstat (limited to 'examples/qtest')
-rw-r--r--examples/qtest/mod-info/files/2.qdf33
1 files changed, 17 insertions, 16 deletions
diff --git a/examples/qtest/mod-info/files/2.qdf b/examples/qtest/mod-info/files/2.qdf
index 63be2439..2d26c161 100644
--- a/examples/qtest/mod-info/files/2.qdf
+++ b/examples/qtest/mod-info/files/2.qdf
@@ -138,8 +138,9 @@ Q
endstream
endobj
+%QDF: ignore_newline
9 0 obj
-404
+403
endobj
10 0 obj
@@ -1313,20 +1314,20 @@ xref
0000003589 00000 n
0000003741 00000 n
0000003793 00000 n
-0000004252 00000 n
-0000004272 00000 n
-0000004336 00000 n
-0000004534 00000 n
-0000004570 00000 n
-0000004884 00000 n
-0000004904 00000 n
-0000006922 00000 n
-0000006965 00000 n
-0000007208 00000 n
-0000009576 00000 n
-0000009598 00000 n
-0000009682 00000 n
-0000156384 00000 n
+0000004273 00000 n
+0000004293 00000 n
+0000004357 00000 n
+0000004555 00000 n
+0000004591 00000 n
+0000004905 00000 n
+0000004925 00000 n
+0000006943 00000 n
+0000006986 00000 n
+0000007229 00000 n
+0000009597 00000 n
+0000009619 00000 n
+0000009703 00000 n
+0000156405 00000 n
trailer <<
/Info 2 0 R
/Root 1 0 R
@@ -1334,5 +1335,5 @@ trailer <<
/ID [<d1db92ffc47f1749a08e8a3b57190061><31415926535897932384626433832795>]
>>
startxref
-156408
+156429
%%EOF