Add a pixel test for incorrect line dash pattern drawing.

Illustrate the incorrect behavior with the "d" operator.

Bug: chromium:660850
Change-Id: Ie5280b2850965a11bd7073567ba69b33313b9c59
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/60511
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/testing/resources/pixel/bug_660850.in b/testing/resources/pixel/bug_660850.in
new file mode 100644
index 0000000..7eded31
--- /dev/null
+++ b/testing/resources/pixel/bug_660850.in
@@ -0,0 +1,41 @@
+{{header}}
+{{object 1 0}} <<
+  /Type /Catalog
+  /Pages 2 0 R
+>>
+endobj
+{{object 2 0}} <<
+  /Type /Pages
+  /Count 1
+  /Kids [3 0 R]
+>>
+endobj
+{{object 3 0}} <<
+  /Type /Page
+  /Parent 2 0 R
+  /Contents 4 0 R
+  /MediaBox [0 0 400 200]
+>>
+endobj
+{{object 4 0}} <<
+  {{streamlen}}
+>>
+stream
+q
+1 1 1 rg
+20 w
+4 M
+[12 28] -14 d
+40 40 m
+360 40 l
+360 160 l
+40 160 l
+h
+B
+Q
+endstream
+endobj
+{{xref}}
+{{trailer}}
+{{startxref}}
+%%EOF
diff --git a/testing/resources/pixel/bug_660850_expected.pdf.0.png b/testing/resources/pixel/bug_660850_expected.pdf.0.png
new file mode 100644
index 0000000..98281e1
--- /dev/null
+++ b/testing/resources/pixel/bug_660850_expected.pdf.0.png
Binary files differ