diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-06 16:06:49 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-06 16:06:49 -0800 |
commit | 77bf6474c50948b1732852bfe0d365d0eaa4c7fd (patch) | |
tree | db9e4b9aae9b3af1bdfb237806d6c4e03129ee83 /testing/resources/pixel/font_size.in | |
parent | 23b4e3f4b6859d80f1e4a840fd7a7dce0cf8526b (diff) | |
download | pdfium-77bf6474c50948b1732852bfe0d365d0eaa4c7fd.tar.xz |
Add first pixel diffing test.
This is just a simple example of font scaling, so we have some
bits to diff against. I've added a /pixel directory to separate
these from the embeddertest resources.
BUG=https://code.google.com/p/pdfium/issues/detail?id=62
R=jam@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/904983002
Diffstat (limited to 'testing/resources/pixel/font_size.in')
-rw-r--r-- | testing/resources/pixel/font_size.in | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/testing/resources/pixel/font_size.in b/testing/resources/pixel/font_size.in new file mode 100644 index 0000000000..c4e21e2358 --- /dev/null +++ b/testing/resources/pixel/font_size.in @@ -0,0 +1,62 @@ +{{header}} +{{object 1 0}} << + /Type /Catalog + /Pages 2 0 R +>> +{{object 2 0}} << + /Type /Pages + /MediaBox [ 0 0 100 400 ] + /Count 1 + /Kids [ 3 0 R ] +>> +endobj +{{object 3 0}} << + /Type /Page + /Parent 2 0 R + /Resources << + /Font << + /F1 4 0 R + >> + >> + /Contents 6 0 R +>> +endobj +{{object 4 0}} << + /Type /Font + /Subtype /Type1 + /BaseFont /Times-Roman +>> +endobj +{{object 6 0}} << +>> +stream +BT +20 0 Td +0 20 Td /F1 0 Tf (Size 0) Tj +0 20 Td /F1 1 Tf (Size 1) Tj +0 20 Td /F1 2 Tf (Size 2) Tj +0 20 Td /F1 3 Tf (Size 3) Tj +0 20 Td /F1 4 Tf (Size 4) Tj +0 20 Td /F1 5 Tf (Size 5) Tj +0 20 Td /F1 6 Tf (Size 6) Tj +0 20 Td /F1 7 Tf (Size 7) Tj +0 20 Td /F1 8 Tf (Size 8) Tj +0 20 Td /F1 9 Tf (Size 9) Tj +0 20 Td /F1 10 Tf (Size 10) Tj +0 20 Td /F1 11 Tf (Size 11) Tj +0 20 Td /F1 12 Tf (Size 12) Tj +0 20 Td /F1 13 Tf (Size 13) Tj +0 20 Td /F1 14 Tf (Size 14) Tj +0 20 Td /F1 15 Tf (Size 15) Tj +0 20 Td /F1 16 Tf (Size 16) Tj +0 20 Td /F1 17 Tf (Size 17) Tj +0 20 Td /F1 18 Tf (Size 18) Tj +ET +endstream +endobj +{{xref}} +trailer << + /Root 1 0 R +>> +{{startxref}} +%%EOF |