[Pkg-javascript-commits] [pdf.js] 122/174: Test case from #6019.

David Prévot taffit at moszumanska.debian.org
Thu Nov 19 18:45:29 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 27efe5608f64c056deaac5bd438b84af95132e29
Author: Yury Delendik <ydelendik at mozilla.com>
Date:   Tue Nov 3 09:03:08 2015 -0600

    Test case from #6019.
---
 test/pdfs/.gitignore    |  1 +
 test/pdfs/issue6019.pdf | 80 +++++++++++++++++++++++++++++++++++++++++++++++++
 test/test_manifest.json |  7 +++++
 3 files changed, 88 insertions(+)

diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore
index 9bbf4ec..c819d55 100644
--- a/test/pdfs/.gitignore
+++ b/test/pdfs/.gitignore
@@ -28,6 +28,7 @@
 !javauninstall-7r.pdf
 !issue3205r.pdf
 !close-path-bug.pdf
+!issue6019.pdf
 !issue1293r.pdf
 !issue6541.pdf
 !issue2948.pdf
diff --git a/test/pdfs/issue6019.pdf b/test/pdfs/issue6019.pdf
new file mode 100644
index 0000000..7dba7b6
--- /dev/null
+++ b/test/pdfs/issue6019.pdf
@@ -0,0 +1,80 @@
+%PDF-1.7
+%����
+1 0 obj 
+<<
+/Type /Encoding
+/BaseEncoding /WinAnsiEncoding
+>>
+endobj 
+2 0 obj 
+<<
+/Pages 3 0 R
+/Type /Catalog
+>>
+endobj 
+3 0 obj 
+<<
+/Kids [4 0 R]
+/Count 1
+/Type /Pages
+>>
+endobj 
+4 0 obj 
+<<
+/Rotate 90
+/Parent 3 0 R
+/MediaBox [0 0 50 400]
+/Resources 
+<<
+/Font 
+<<
+/F1 5 0 R
+>>
+>>
+/Contents 6 0 R
+/Type /Page
+>>
+endobj 
+5 0 obj 
+<<
+/BaseFont /Times-Italic
+/Subtype /Type1
+/Encoding 1 0 R
+/Type /Font
+>>
+endobj 
+6 0 obj 
+<<
+/Length 108
+>>
+stream
+BT
+/F1 1 Tf
+0 24 -24 0 30 30 Tm
+0 Tw
+(�)Tj
+0.94 0 TD
+-0.0002 Tc
+0.0002 Tw
+[(Medicine Bow)-3653(  936)]TJ
+ET
+
+endstream 
+endobj xref
+0 7
+0000000000 65535 f 
+0000000015 00000 n 
+0000000085 00000 n 
+0000000136 00000 n 
+0000000195 00000 n 
+0000000335 00000 n 
+0000000426 00000 n 
+trailer
+
+<<
+/Root 2 0 R
+/Size 7
+>>
+startxref
+587
+%%EOF
diff --git a/test/test_manifest.json b/test/test_manifest.json
index 2e7b2ce..dcff6d7 100644
--- a/test/test_manifest.json
+++ b/test/test_manifest.json
@@ -1290,6 +1290,13 @@
        "link": false,
        "type": "eq"
     },
+    {
+      "id": "issue6019-text",
+      "file": "pdfs/issue6019.pdf",
+      "md5": "7a2e5dda3b0fc5c2e9060e378a8cdc4e",
+      "rounds": 1,
+      "type": "text"
+    },
     {  "id": "bug893730",
        "file": "pdfs/bug893730.pdf",
        "md5": "2587379fb1b3bbff89c14f0863e78383",

-- 
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