diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-18 13:54:57 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-18 18:23:22 +0000 |
commit | f0a404d41fcc72f59b528002ef9b2d6011992bc8 (patch) | |
tree | 803d3e89360aafec40b21c275f6b70e656889eb1 | |
parent | 7dc9fe5a646b68cf4774a25c67d0aa0cf9c8a453 (diff) | |
download | pdfium-f0a404d41fcc72f59b528002ef9b2d6011992bc8.tar.xz |
Add kerning test for bug 528103
Bug: chromium:528103
Change-Id: I990c829af8c6a9f481a34fc0e25de6814bbab34a
Reviewed-on: https://pdfium-review.googlesource.com/5633
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
-rw-r--r-- | testing/resources/pixel/bug_528103.in | 47 | ||||
-rw-r--r-- | testing/resources/pixel/bug_528103_expected.pdf.0.png | bin | 0 -> 4215 bytes | |||
-rw-r--r-- | testing/resources/pixel/bug_528103_expected_mac.pdf.0.png | bin | 0 -> 3572 bytes | |||
-rw-r--r-- | testing/resources/pixel/bug_528103_expected_win.pdf.0.png | bin | 0 -> 4211 bytes |
4 files changed, 47 insertions, 0 deletions
diff --git a/testing/resources/pixel/bug_528103.in b/testing/resources/pixel/bug_528103.in new file mode 100644 index 0000000000..9223b0b77a --- /dev/null +++ b/testing/resources/pixel/bug_528103.in @@ -0,0 +1,47 @@ +{{header}} +{{object 1 0}} << + /Type /Catalog + /Pages 2 0 R +>> +endobj +{{object 2 0}} << + /Type /Pages + /MediaBox [ 0 0 500 100 ] + /Count 1 + /Kids [ 3 0 R ] +>> +endobj +{{object 3 0}} << + /Type /Page + /Parent 2 0 R + /Resources << + /Font << + /F1 4 0 R + >> + >> + /Contents 5 0 R +>> +endobj +{{object 4 0}} << + /Type /Font + /Subtype /Type1 + /BaseFont /Arial +>> +endobj +{{object 5 0}} << +>> +stream +BT +150 Tz +100 50 TD /F1 12 Tf [(Intentionally)] TJ +10 0 TD [-5000(Nonoverlapping)] TJ +10 0 TD [-12000(Text)] TJ +ET +endstream +endobj +{{xref}} +trailer << + /Root 1 0 R +>> +{{startxref}} +%%EOF diff --git a/testing/resources/pixel/bug_528103_expected.pdf.0.png b/testing/resources/pixel/bug_528103_expected.pdf.0.png Binary files differnew file mode 100644 index 0000000000..479b0fd42e --- /dev/null +++ b/testing/resources/pixel/bug_528103_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_528103_expected_mac.pdf.0.png b/testing/resources/pixel/bug_528103_expected_mac.pdf.0.png Binary files differnew file mode 100644 index 0000000000..cb028f9e13 --- /dev/null +++ b/testing/resources/pixel/bug_528103_expected_mac.pdf.0.png diff --git a/testing/resources/pixel/bug_528103_expected_win.pdf.0.png b/testing/resources/pixel/bug_528103_expected_win.pdf.0.png Binary files differnew file mode 100644 index 0000000000..27c0df7fd2 --- /dev/null +++ b/testing/resources/pixel/bug_528103_expected_win.pdf.0.png |