diff options
author | Oliver Chang <ochang@chromium.org> | 2015-11-04 14:23:32 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2015-11-04 14:23:32 -0800 |
commit | 4f85605cbc652a17bc833f883186e0a68af6006d (patch) | |
tree | f3c5f7cb3539448786b2426a74d9d8dabbee22a2 /testing/resources/bug_551460.in | |
parent | 79f5a32175293620abe456554e10efb7c3f4e7c6 (diff) | |
download | pdfium-4f85605cbc652a17bc833f883186e0a68af6006d.tar.xz |
Enforce input and output dimensionalities for CPDF_StitchFunc.
Also cleans up some places in the relevant functions since we're here.
BUG=551460
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1421783004 .
Diffstat (limited to 'testing/resources/bug_551460.in')
-rw-r--r-- | testing/resources/bug_551460.in | 75 |
1 files changed, 75 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 |