Add pixel test for an edited PDF that regressed

Similar to testing/resources/pixel/bug_1484283.pdf, add another
handcrafted PDF that is a variant of testing/resources/rectangles.pdf.
This one starts out with size 200x350, but the edit changed the size to
200x300. It also contains an XRef stream object, like the PDF from the
bug report.

It should render with size 200x300 to match the expectation PNGs.
However, the open bug means it does not render correctly, thus the test
results are currently suppressed.

Bug: pdfium:2122
Change-Id: Iaf2da742e95589b0755fcf336bd8351b491e7246
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/116091
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Thomas Sepez <tsepez@google.com>
diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS
index 96c84d12..ac75c08d 100644
--- a/testing/SUPPRESSIONS
+++ b/testing/SUPPRESSIONS
@@ -659,6 +659,9 @@
 # TODO(pdfium:2001): Remove after associated bug is fixed
 bug_2001.pdf * * * *
 
+# TODO(pdfium:2122): Remove after associated bug is fixed
+bug_2122.pdf * * * *
+
 # TODO(chromium:237527): Remove after associated bug is fixed
 bug_237527_1.in * * * *
 
diff --git a/testing/resources/pixel/bug_2122.pdf b/testing/resources/pixel/bug_2122.pdf
new file mode 100644
index 0000000..687a2b0
--- /dev/null
+++ b/testing/resources/pixel/bug_2122.pdf
@@ -0,0 +1,91 @@
+%PDF-1.7
+% ò¤ô
+1 0 obj <<
+  /Type /Catalog
+  /Pages 2 0 R
+>>
+endobj
+2 0 obj <<
+  /Type /Pages
+  /MediaBox [0 0 200 350]
+  /Count 1
+  /Kids [3 0 R]
+>>
+endobj
+3 0 obj <<
+  /Type /Page
+  /Parent 2 0 R
+  /Contents 4 0 R
+>>
+endobj
+4 0 obj <<
+  /Length 188
+>>
+stream
+q
+0 0 0 rg
+0 290 10 10 re B*
+10 150 50 30 re B*
+0 0 1 rg
+190 290 10 10 re B*
+70 232 50 30 re B*
+0 1 0 rg
+190 0 10 10 re B*
+130 150 50 30 re B*
+1 0 0 rg
+0 0 10 10 re B*
+70 67 50 30 re B*
+Q
+endstream
+endobj
+5 0 obj <<
+  /Type /XRef
+  /Filter /ASCIIHexDecode
+  /Length 72
+  /Root 1 0 R
+  /Size 6
+  /W [1 2 1]
+>>
+stream
+00 00 00 FF
+01 00 0F 00
+01 00 44 00
+01 00 9D 00
+01 00 E2 00
+01 01 D2 00
+endstream
+endobj
+xref
+0 6
+0000000000 65535 f 
+0000000015 00000 n 
+0000000068 00000 n 
+0000000157 00000 n 
+0000000226 00000 n 
+0000000466 00000 n 
+trailer <<
+  /Root 1 0 R
+  /Size 6
+>>
+startxref
+666
+%%EOF
+2 0 obj <<
+  /Type /Pages
+  /MediaBox [0 0 200 300]
+  /Count 1
+  /Kids [3 0 R]
+>>
+endobj
+xref
+2 1
+0000000853 00000 n 
+trailer <<
+  /Prev 666
+  /Root 1 0 R
+  /Size 6
+  /XRefStm 466
+>>
+startxref
+942
+%%EOF
diff --git a/testing/resources/pixel/bug_2122_expected.pdf.0.png b/testing/resources/pixel/bug_2122_expected.pdf.0.png
new file mode 100644
index 0000000..ee652fa
--- /dev/null
+++ b/testing/resources/pixel/bug_2122_expected.pdf.0.png
Binary files differ
diff --git a/testing/resources/pixel/bug_2122_expected_gdi.pdf.0.png b/testing/resources/pixel/bug_2122_expected_gdi.pdf.0.png
new file mode 100644
index 0000000..72da0cd
--- /dev/null
+++ b/testing/resources/pixel/bug_2122_expected_gdi.pdf.0.png
Binary files differ
diff --git a/testing/resources/pixel/bug_2122_expected_skia.pdf.0.png b/testing/resources/pixel/bug_2122_expected_skia.pdf.0.png
new file mode 100644
index 0000000..8a6b8ed
--- /dev/null
+++ b/testing/resources/pixel/bug_2122_expected_skia.pdf.0.png
Binary files differ