diff options
author | Oliver Chang <ochang@chromium.org> | 2015-11-06 14:50:52 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2015-11-06 14:50:52 -0800 |
commit | 1c27b89fde2f49d9db25e24c8f84a4dca39224d1 (patch) | |
tree | 2e11c5f2e119c65b540f428ed605c74031f07adb /testing/resources | |
parent | 0300abca7af7ad627ad9b59bdb88c2fec0505b12 (diff) | |
download | pdfium-chromium/2490.tar.xz |
Merge to M46: Enforce input and output dimensionalities for CPDF_StitchFunc.chromium/2490
Also cleans up some places in the relevant functions since we're here.
BUG=551460
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1421783004 .
(cherry picked from commit 4f85605cbc652a17bc833f883186e0a68af6006d)
Review URL: https://codereview.chromium.org/1432833002 .
Diffstat (limited to 'testing/resources')
-rw-r--r-- | testing/resources/bug_551460.in | 75 | ||||
-rw-r--r-- | testing/resources/bug_551460.pdf | 89 |
2 files changed, 164 insertions, 0 deletions
diff --git a/testing/resources/bug_551460.in b/testing/resources/bug_551460.in new file mode 100644 index 0000000000..5ed2f3f117 --- /dev/null +++ b/testing/resources/bug_551460.in @@ -0,0 +1,75 @@ +{{header}} + +{{object 1 0}} +<< + /Pages 2 0 R +>> +endobj + +{{object 2 0}} +<< + /Kids [ 3 0 R ] +>> +endobj + +{{object 3 0}} +<< + /Contents 6 0 R + /Resources 5 0 R +>> +endobj + +{{object 6 0}} +<<>> +stream +0.0 G +0.0 1.0 0.0 rg +25 175 175 -150 re +/Sh sh +endstream +endobj + +{{object 5 0}} +<< + /Shading << + /Sh 7 0 R + >> +>> +endobj + +{{object 7 0}} +<< + /ShadingType 1 + /ColorSpace /DeviceCMYK + /Coords [0.0 0.0 1.0 1.0] + /Function 9 0 R + /Extend [true true] +>> + +{{object 9 0}} +<< + /FunctionType 3 + /Domain [0.0 1.0 0.0 1.0] + /Functions [10 0 R] + /Bounds [2.0] + /Encode [0.0 1.0] +>> +endobj + +{{object 10 0}} +<< + /FunctionType 2 + /Domain [0.0 1.0 0.0 1.0] + /C0 [0.0 0.0] + /C1 [1.0 1.0] + /N 1 +>> +endobj + +{{xref}} +trailer << + /Root 1 0 R + /Size 11 +>> +{{startxref}} +%%EOF diff --git a/testing/resources/bug_551460.pdf b/testing/resources/bug_551460.pdf new file mode 100644 index 0000000000..926e3fad2d --- /dev/null +++ b/testing/resources/bug_551460.pdf @@ -0,0 +1,89 @@ +%PDF-1.7 +% ò¤ô + +1 0 obj +<< + /Pages 2 0 R +>> +endobj + +2 0 obj +<< + /Kids [ 3 0 R ] +>> +endobj + +3 0 obj +<< + /Contents 6 0 R + /Resources 5 0 R +>> +endobj + +6 0 obj +<<>> +stream +0.0 G +0.0 1.0 0.0 rg +25 175 175 -150 re +/Sh sh +endstream +endobj + +5 0 obj +<< + /Shading << + /Sh 7 0 R + >> +>> +endobj + +7 0 obj +<< + /ShadingType 1 + /ColorSpace /DeviceCMYK + /Coords [0.0 0.0 1.0 1.0] + /Function 9 0 R + /Extend [true true] +>> + +9 0 obj +<< + /FunctionType 3 + /Domain [0.0 1.0 0.0 1.0] + /Functions [10 0 R] + /Bounds [2.0] + /Encode [0.0 1.0] +>> +endobj + +10 0 obj +<< + /FunctionType 2 + /Domain [0.0 1.0 0.0 1.0] + /C0 [0.0 0.0] + /C1 [1.0 1.0] + /N 1 +>> +endobj + +xref +0 11 +0000000000 65535 f +0000000016 00000 n +0000000053 00000 n +0000000093 00000 n +0000000000 65535 f +0000000237 00000 n +0000000152 00000 n +0000000292 00000 n +0000000000 65535 f +0000000418 00000 n +0000000544 00000 n +trailer << + /Root 1 0 R + /Size 11 +>> +startxref +652 +%%EOF |