aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorojab2015-02-09 16:11:46 +0300
committerXu Cheng2015-03-31 19:04:58 +0800
commit1db6a756c9a3fc53ec92a0435e24238292937f02 (patch)
treecee911ca98c3c134c1fe50a09c01ce488ee61cd9 /Library
parentaf66c12108466fe541403638a8742a9dc78039e3 (diff)
downloadbrew-1db6a756c9a3fc53ec92a0435e24238292937f02.tar.bz2
Fix test.pdf
test.pdf wasn't a valid PDF file: >$ mutool info test.pdf >test.pdf: >error: cannot recognize xref format >error: cannot read xref (ofs=406) >error: cannot read xref at offset 406 >warning: trying to repair broken xref Process it with `mutool clean` to fix errors, collapse newlines to reduce size Closes Homebrew/homebrew#38194. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/fixtures/test.pdf38
1 files changed, 16 insertions, 22 deletions
diff --git a/Library/Homebrew/test/fixtures/test.pdf b/Library/Homebrew/test/fixtures/test.pdf
index 3cbb42c3f..1f2ac6390 100644
--- a/Library/Homebrew/test/fixtures/test.pdf
+++ b/Library/Homebrew/test/fixtures/test.pdf
@@ -1,30 +1,24 @@
%PDF-1.6
-1 0 obj <</Type /Catalog /Pages 2 0 R>>
-endobj
-2 0 obj <</Type /Pages /Kids [3 0 R] /Count 1>>
-endobj
-3 0 obj<</Type /Page /Parent 2 0 R /Resources 4 0 R /MediaBox [0 0 500 800] /Contents 6 0 R>>
-endobj
-4 0 obj<</Font <</F1 5 0 R>>>>
-endobj
-5 0 obj<</Type /Font /Subtype /Type1 /BaseFont /Helvetica>>
-endobj
-6 0 obj
-<</Length 44>>
-stream
+%μῦ
+1 0 obj<</Type/Catalog/Pages 2 0 R>>endobj
+2 0 obj<</Type/Pages/Kids[3 0 R]/Count 1>>endobj
+3 0 obj<</Type/Page/Parent 2 0 R/Resources 4 0 R/MediaBox[0 0 500 800]/Contents 6 0 R>>endobj
+4 0 obj<</Font<</F1 5 0 R>>>>endobj
+5 0 obj<</Type/Font/Subtype/Type1/BaseFont/Helvetica>>endobj
+6 0 obj<</Length 46>>stream
BT /F1 24 Tf 175 720 Td (Homebrew test.)Tj ET
endstream
endobj
xref
0 7
-0000000000 65535 f
-0000000009 00000 n
-0000000056 00000 n
-0000000111 00000 n
-0000000212 00000 n
-0000000250 00000 n
-0000000317 00000 n
-trailer <</Size 7/Root 1 0 R>>
+0000000000 65536 f
+0000000016 00000 n
+0000000059 00000 n
+0000000108 00000 n
+0000000202 00000 n
+0000000238 00000 n
+0000000299 00000 n
+trailer<</Size 7/Root 1 0 R>>
startxref
-406
+390
%%EOF