From f0a404d41fcc72f59b528002ef9b2d6011992bc8 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Thu, 18 May 2017 13:54:57 -0400 Subject: Add kerning test for bug 528103 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: chromium:528103 Change-Id: I990c829af8c6a9f481a34fc0e25de6814bbab34a Reviewed-on: https://pdfium-review.googlesource.com/5633 Reviewed-by: dsinclair Reviewed-by: Lei Zhang Commit-Queue: Nicolás Peña --- testing/resources/pixel/bug_528103.in | 47 +++++++++++++++++++++ .../resources/pixel/bug_528103_expected.pdf.0.png | Bin 0 -> 4215 bytes .../pixel/bug_528103_expected_mac.pdf.0.png | Bin 0 -> 3572 bytes .../pixel/bug_528103_expected_win.pdf.0.png | Bin 0 -> 4211 bytes 4 files changed, 47 insertions(+) create mode 100644 testing/resources/pixel/bug_528103.in create mode 100644 testing/resources/pixel/bug_528103_expected.pdf.0.png create mode 100644 testing/resources/pixel/bug_528103_expected_mac.pdf.0.png create mode 100644 testing/resources/pixel/bug_528103_expected_win.pdf.0.png (limited to 'testing') 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 new file mode 100644 index 0000000000..479b0fd42e Binary files /dev/null and b/testing/resources/pixel/bug_528103_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_528103_expected_mac.pdf.0.png b/testing/resources/pixel/bug_528103_expected_mac.pdf.0.png new file mode 100644 index 0000000000..cb028f9e13 Binary files /dev/null and b/testing/resources/pixel/bug_528103_expected_mac.pdf.0.png differ diff --git a/testing/resources/pixel/bug_528103_expected_win.pdf.0.png b/testing/resources/pixel/bug_528103_expected_win.pdf.0.png new file mode 100644 index 0000000000..27c0df7fd2 Binary files /dev/null and b/testing/resources/pixel/bug_528103_expected_win.pdf.0.png differ -- cgit v1.2.3