[Pkg-javascript-commits] [pdf.js] 05/139: Add a reduced test case for bug 847420

David Prévot taffit at moszumanska.debian.org
Fri Jan 9 21:18:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 0ffb54b95f4f41c41679df84700a2ff11e49aa37
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Sun Oct 12 22:36:50 2014 +0200

    Add a reduced test case for bug 847420
---
 test/pdfs/.gitignore    |  1 +
 test/pdfs/bug847420.pdf | 90 +++++++++++++++++++++++++++++++++++++++++++++++++
 test/test_manifest.json |  7 ++++
 3 files changed, 98 insertions(+)

diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore
index 2e34a2b..a3a804a 100644
--- a/test/pdfs/.gitignore
+++ b/test/pdfs/.gitignore
@@ -26,6 +26,7 @@
 !issue3438.pdf
 !issue2074.pdf
 !scan-bad.pdf
+!bug847420.pdf
 !bug860632.pdf
 !pdfjsbad1586.pdf
 !freeculture.pdf
diff --git a/test/pdfs/bug847420.pdf b/test/pdfs/bug847420.pdf
new file mode 100644
index 0000000..ba804dd
--- /dev/null
+++ b/test/pdfs/bug847420.pdf
@@ -0,0 +1,90 @@
+%PDF-1.7
+52 0 obj
+<<
+/Type /Catalog
+/Pages 53 0 R
+>>
+endobj
+53 0 obj
+<<
+/Type /Pages
+/MediaBox [ 0 0 200 50 ]
+/Count 1
+/Kids [ 54 0 R ]
+>>
+endobj
+54 0 obj
+<<
+/Type /Page
+/Parent 53 0 R
+/Resources <<
+/Font <<
+/F1 55 0 R
+>>
+
+>>
+
+/Contents 56 0 R
+>>
+endobj
+55 0 obj
+<<
+/Type /Font
+/Subtype /TrueType
+/Name /F2
+/BaseFont /Arial,Italic
+/FirstChar 32
+/LastChar 255
+/Widths [ 277 277 354 556 556 889 666 190 333 333 389 583 277 333 277 277 556 556 556 556 556 556 556 556 556 556 277 277 583 583 583 556 1015 666 666 722 722 666 610 777 722 277 500 666 556 833 722 777 666 777 722 666 610 722 666 943 666 666 610 277 277 277 469 556 333 556 556 500 556 556 277 556 556 222 222 500 222 833 556 556 556 556 333 500 277 556 500 722 500 500 500 333 259 333 583 0 556 0 222 556 333 1000 556 556 333 1000 666 333 1000 0 610 0 0 222 222 333 333 350 556 1000 333 100 [...]
+/Encoding /WinAnsiEncoding
+/FontDescriptor 8 0 R
+>>
+endobj
+56 0 obj
+<<
+/Length 62
+>>
+stream
+BT
+10 20 TD
+/F1 14 Tf
+(Text that should be italicized.) Tj
+ET
+endstream
+endobj
+8 0 obj
+<<
+/Type /FontDescriptor
+/FontName /Arial
+/Ascent 728
+/CapHeight 500
+/Descent 208
+/Flags 96
+/FontBBox [ -517 -325 1359 998 ]
+/ItalicAngle -120
+/StemV 0
+>>
+endobj
+xref
+0 1
+0000000000 65535 f
+8 1
+0000001431 00000 n
+52 1
+0000000009 00000 n
+53 1
+0000000060 00000 n
+54 1
+0000000146 00000 n
+55 1
+0000000254 00000 n
+56 1
+0000001319 00000 n
+trailer
+<<
+/Size 6
+/Root 52 0 R
+>>
+startxref
+1601
+%%EOF
\ No newline at end of file
diff --git a/test/test_manifest.json b/test/test_manifest.json
index 45de838..91029c2 100644
--- a/test/test_manifest.json
+++ b/test/test_manifest.json
@@ -364,6 +364,13 @@
        "rounds": 1,
        "type": "load"
     },
+    {  "id": "bug847420",
+       "file": "pdfs/bug847420.pdf",
+       "md5": "0decd96fec4ef858c2c663a6de24e887",
+       "rounds": 1,
+       "link": false,
+       "type": "eq"
+    },
     {  "id": "bug878026",
        "file": "pdfs/bug878026.pdf",
        "md5": "13072db0586f2b4e96de189e23fc7395",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list