[Pkg-javascript-commits] [pdf.js] 47/174: Add a reduced load test-case for bug 1020858
David Prévot
taffit at moszumanska.debian.org
Thu Nov 19 18:45:08 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 03f2c704a3f666bf29158b644c9e0d8c87bcb3cc
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date: Sun Oct 4 23:47:03 2015 +0200
Add a reduced load test-case for bug 1020858
Re: PR 4907 and https://bugzilla.mozilla.org/show_bug.cgi?id=1020858.
*Note:* Since this is a `load` test, `makeref` won't be necessary.
---
test/pdfs/.gitignore | 1 +
test/pdfs/bug1020858.pdf | 130 +++++++++++++++++++++++++++++++++++++++++++++++
test/test_manifest.json | 7 +++
3 files changed, 138 insertions(+)
diff --git a/test/pdfs/.gitignore b/test/pdfs/.gitignore
index af1519f..3bd927b 100644
--- a/test/pdfs/.gitignore
+++ b/test/pdfs/.gitignore
@@ -16,6 +16,7 @@
!arial_unicode_ab_cidfont.pdf
!arial_unicode_en_cidfont.pdf
!asciihexdecode.pdf
+!bug1020858.pdf
!bug1050040.pdf
!bug1200096.pdf
!canvas.pdf
diff --git a/test/pdfs/bug1020858.pdf b/test/pdfs/bug1020858.pdf
new file mode 100644
index 0000000..481b999
--- /dev/null
+++ b/test/pdfs/bug1020858.pdf
@@ -0,0 +1,130 @@
+%PDF-1.7
+%����
+1 0 obj
+<<
+/Group
+<<
+/CS /DeviceRGB
+/Type /Group
+/S /Transparency
+>>
+/Parent 2 0 R
+/Resources
+<<
+/XObject
+<<
+/Meta7 3 0 R
+>>
+/Font
+<<
+/F1 4 0 R
+>>
+/ProcSet [/PDF /Text /Image]
+>>
+/MediaBox [0 0 200 50]
+/Type /Page
+/Contents 5 0 R
+>>
+endobj
+4 0 obj
+<<
+/BaseFont /Times-Roman
+/Subtype /Type1
+/Encoding /WinAnsiEncoding
+/Type /Font
+>>
+endobj
+3 0 obj
+<<
+/Matrix [0.091272 0 0 0.12069 0 0]
+/Subtype /Form
+/Length 52
+/Resources
+<<
+/XObject
+<<
+/Meta8 6 0 R
+>>
+>>
+/Type /XObject
+/BBox [0 0 788.85 596.59]
+>>
+stream
+q
+10.937 0 0 8.2812 0.062485 0.58765 cm
+/Meta8 Do
+Q
+
+endstream
+endobj
+2 0 obj
+<<
+/Kids [1 0 R]
+/Type /Pages
+/Count 1
+>>
+endobj
+5 0 obj
+<<
+/Length 89
+>>
+stream
+q
+1.67 0 0 1.25 -20 -30 cm
+/Meta7 Do
+Q
+BT
+/F1 20 Tf
+1 0 0 1 20 20 Tm
+(Bug 1020858) Tj
+ET
+
+endstream
+endobj
+6 0 obj
+<<
+/Matrix [0.8854 0 0 1.1746 0 0]
+/Subtype /Form
+/Length 43
+/Resources
+<<
+/XObject
+<<
+/Meta8 6 0 R
+>>
+>>
+/Type /XObject
+/BBox [0 0 81.319 61.297]
+>>
+stream
+0.2 w
+1 j
+20.728 36.694 2.8153 2.836 re
+B
+
+endstream
+endobj
+7 0 obj
+<<
+/Pages 2 0 R
+/Type /Catalog
+>>
+endobj xref
+0 8
+0000000000 65535 f
+0000000015 00000 n
+0000000605 00000 n
+0000000362 00000 n
+0000000261 00000 n
+0000000664 00000 n
+0000000806 00000 n
+0000001037 00000 n
+trailer
+
+<<
+/Root 7 0 R
+/Size 8
+>>
+startxref
+1087
+%%EOF
diff --git a/test/test_manifest.json b/test/test_manifest.json
index d98ecbd..c5269db 100644
--- a/test/test_manifest.json
+++ b/test/test_manifest.json
@@ -1395,6 +1395,13 @@
"link": false,
"type": "eq"
},
+ { "id": "bug1020858",
+ "file": "pdfs/bug1020858.pdf",
+ "md5": "cde53bcf75df14ff59c8a5a96fe437b9",
+ "rounds": 1,
+ "link": false,
+ "type": "load"
+ },
{ "id": "bug1157493",
"file": "pdfs/bug1157493.pdf",
"md5": "df96eddacf186c28a91e699800180c4f",
--
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