diff options
| author | ojab | 2015-02-09 16:11:46 +0300 |
|---|---|---|
| committer | Xu Cheng | 2015-03-31 19:04:58 +0800 |
| commit | edbaad1041d6e1b37e1eb7e766f8db8684890c34 (patch) | |
| tree | dccf3a7ca654fcd82b622b627922cf3721731672 | |
| parent | 9f95a5745294b0e71ee18e2e01857c5946e89f8f (diff) | |
| download | homebrew-edbaad1041d6e1b37e1eb7e766f8db8684890c34.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 #38194.
Signed-off-by: Xu Cheng <xucheng@me.com>
| -rw-r--r-- | Library/Homebrew/test/fixtures/test.pdf | 38 |
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 |
