Add a test case for an incorrectly drawn oval. The expected result is just the current rendering. It still needs to be fixed. Bug: pdfium:1330 Change-Id: I0e74e5ce57b633a27506bd99e177853a5e6cc7f8 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/59573 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/testing/resources/pixel/bug_1330.in b/testing/resources/pixel/bug_1330.in new file mode 100644 index 0000000..ebe70e5 --- /dev/null +++ b/testing/resources/pixel/bug_1330.in
@@ -0,0 +1,40 @@ +{{header}} +{{object 1 0}} << + /Type /Catalog + /Pages 2 0 R +>> +endobj +{{object 2 0}} << + /Type /Pages + /MediaBox [ 0 0 600 400 ] + /Count 1 + /Kids [ 3 0 R ] +>> +endobj +{{object 3 0}} << + /Type /Page + /Parent 2 0 R + /Contents 4 0 R +>> +endobj +{{object 4 0}} << + {{streamlen}} +>> +stream +q +0 0 0 rg +12 w +52.941177 217.61189 m +52.941177 298.55426 132.137 364.171 229.829 364.171 c +327.5213 364.17099 406.717 298.554 406.717 217.612 c +406.71661 136.669525 327.521 71.0528 229.829 71.0528 c +132.136505 71.052795 52.9412 136.67 52.9412 217.612 c +h +S +Q +endstream +endobj +{{xref}} +{{trailer}} +{{startxref}} +%%EOF
diff --git a/testing/resources/pixel/bug_1330_expected.pdf.0.png b/testing/resources/pixel/bug_1330_expected.pdf.0.png new file mode 100644 index 0000000..134f8bb --- /dev/null +++ b/testing/resources/pixel/bug_1330_expected.pdf.0.png Binary files differ