Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1216)

Unified Diff: testing/resources/pixel/bug_585.in

Issue 2289293005: Use /RECT or /QuadPoints for annotation coordinates, depending on /AP (Closed)
Patch Set: rebased + new DEPS Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfdoc/include/cpdf_annot.h ('k') | testing/resources/pixel/bug_585_expected.pdf.0.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/resources/pixel/bug_585.in
diff --git a/testing/resources/pixel/bug_585.in b/testing/resources/pixel/bug_585.in
new file mode 100644
index 0000000000000000000000000000000000000000..b8b56ad427c98fa41daa37241ad8b125ddb23f4c
--- /dev/null
+++ b/testing/resources/pixel/bug_585.in
@@ -0,0 +1,175 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Pages
+ /Count 1
+ /Kids [
+ 10 0 R
+ ]
+>>
+endobj
+% Page number 0.
+{{object 10 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /Resources <<
+ /Font <</F1 15 0 R>>
+ >>
+ /MediaBox [0 0 612 792]
+ /Annots [
+ 22 0 R
+ 23 0 R
+ 24 0 R
+ 25 0 R
+ ]
+ /Tabs /R
+>>
+endobj
+
+{{object 22 0}} <<
+ /Type /Annot
+ /Subtype /Highlight
+ /Rect [ -1 -1 -1 -1 ]
+ /NM (Annot-1)
+ /F 4
+ /QuadPoints [ 475 688 512 688 475 679 512 679 ]
+ /C [ 0.0001108646 0.001760244 0.9982184 ]
+ /Contents ()
+>>
+endobj
+
+{{object 23 0}} <<
+ /Border [
+ 0
+ 0
+ 1
+ ]
+ /C [
+ 0.294118
+ 0.6
+ 1
+ ]
+ /CA 1
+ /CreationDate (D:20150312175256+08'00')
+ /F 4
+ /M (D:20150312175256+08'00')
+ /NM (7f264ba2-e270-42a1-a390-eb41278072ff)
+ /QuadPoints [
+ 227.567
+ 688.016
+ 298.115
+ 688.016
+ 227.567
+ 679.292
+ 298.115
+ 679.292
+ ]
+ /RC (<?xml version="1.0"?><body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="Acroform:2.7.0.0" xfa:spec="2.1"><p style="text-align:left" dir="ltr"><span style="line-height:0pt,font-size:0pt;font-style:normal;font-weight:normal;color:#000000;font-family:Helvetica"></span>\r\n</p>\r\n</body>\r\n)
+ /Rect [
+ -1
+ -1
+ -1
+ -1
+ ]
+ /Subj (Squiggly)
+ /Subtype /Squiggly
+ /T (Administrator)
+ /Type /Annot
+>>
+endobj
+
+{{object 24 0}} <<
+ /Border [
+ 0
+ 0
+ 1
+ ]
+ /C [
+ 0.278431
+ 0.603922
+ 0.6
+ ]
+ /CA 1
+ /CreationDate (D:20150312175350+08'00')
+ /F 4
+ /IRT 6 0 R
+ /IT /StrikeOutTextEdit
+ /M (D:20150312175350+08'00')
+ /NM (2912a3cf-3b30-48a7-8531-431ce468e6a8)
+ /P 4 0 R
+ /QuadPoints [
+ 186.875
+ 714.836
+ 293.483
+ 714.836
+ 186.875
+ 706.064
+ 293.483
+ 706.064
+ ]
+ /RT /Group
+ /Rect [
+ -1
+ -1
+ -1
+ -1
+ ]
+ /Subj (Replace)
+ /Subtype /StrikeOut
+ /T (Administrator)
+ /Type /Annot
+>>
+endobj
+
+{{object 25 0}} <<
+ /Border [
+ 0
+ 0
+ 1
+ ]
+ /C [
+ 0.2
+ 0.619608
+ 0
+ ]
+ /CA 1
+ /CreationDate (D:20150312175318+08'00')
+ /F 4
+ /M (D:20150312175318+08'00')
+ /NM (c99bdf16-3040-4bf6-9b8a-a80cc563a6a7)
+ /P 4 0 R
+ /Popup 6 0 R
+ /QuadPoints [
+ 204.395
+ 647.984
+ 403.895
+ 647.984
+ 204.395
+ 636.872
+ 403.895
+ 636.872
+ ]
+ /RC (<?xml version="1.0"?><body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="Acroform:2.7.0.0" xfa:spec="2.1"><p style="text-align:left" dir="ltr"><span style="line-height:0pt,font-size:0pt;font-style:normal;font-weight:normal;color:#000000;font-family:Helvetica"></span>\r\n</p>\r\n</body>\r\n)
+ /Rect [
+ -1
+ -1
+ -1
+ -1
+ ]
+ /Subj (Underline)
+ /Subtype /Underline
+ /T (Administrator)
+ /Type /Annot
+>>
+endobj
+
+{{xref}}
+trailer <<
+ /Root 1 0 R
+>>
+{{startxref}}
+%%EOF
« no previous file with comments | « core/fpdfdoc/include/cpdf_annot.h ('k') | testing/resources/pixel/bug_585_expected.pdf.0.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698