From 09b419242ed85acb6ddf64cddfaa7ca8fbb07b1a Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Fri, 27 Oct 2017 20:39:29 +0000 Subject: Revert "Revert "Reland "Remove ContrastAdjust().""" This reverts commit 978ba20ffd0d2b37bf02b9d86828fa701c0c02fa. Reason for revert: I now have the new expected files for the chrome test ready in https://chromium-review.googlesource.com/c/chromium/src/+/742061 Landing this again and will immediately add a manual pdfium roll to cl 742061 to unblock the deps roller. Original change's description: > Revert "Reland "Remove ContrastAdjust()."" > > This reverts commit d5ec7ab0cd0663184d6056bc6fc87c86ec345342. > > Reason for revert: Did not mean to reland, just create the reland CL. > > Original change's description: > > Reland "Remove ContrastAdjust()." > > > > Original change's description: > > > Revert "Remove ContrastAdjust()." > > > > > > This reverts commit 53d443f042b590ae2d920def16bc9daf66f8427d. > > > > > > Reason for revert: Breaks PDFToPWGRasterBrowserTest > > > > > > Original change's description: > > > > Remove ContrastAdjust(). > > > > > > > > This post-processing increased the contrast of scaled-down features - > > > > mainly lines and fonts, relative to the background. The effect does not > > > > improved readability and in some cases makes the scaled-down version > > > > look like a different document at a glance. Text that is normal > > > > weight appears bold when scaled down in these cases. > > > > > > > > Change-Id: I2544d45e2bcec25d6742d2a60c1316d8df08cce1 > > > > Reviewed-on: https://pdfium-review.googlesource.com/15471 > > > > Commit-Queue: Henrique Nakashima > > > > Reviewed-by: dsinclair > > > > > > TBR=bungeman@chromium.org,dsinclair@chromium.org,hnakashima@chromium.org > > > > > > # Not skipping CQ checks because original CL landed > 1 day ago. > > > > > > Change-Id: I7f61650bc6d917b3c6640da60f3f740ef4498de0 > > > Reviewed-on: https://pdfium-review.googlesource.com/16970 > > > Commit-Queue: Henrique Nakashima > > > Reviewed-by: Henrique Nakashima > > > > TBR=bungeman@chromium.org,dsinclair@chromium.org,hnakashima@chromium.org > > > > Change-Id: I77d4377d30908d1e2d4dc842300a761072a5fbd4 > > No-Presubmit: true > > No-Tree-Checks: true > > No-Try: true > > Reviewed-on: https://pdfium-review.googlesource.com/16990 > > Reviewed-by: Henrique Nakashima > > Commit-Queue: Henrique Nakashima > > TBR=bungeman@chromium.org,dsinclair@chromium.org,hnakashima@chromium.org > > Change-Id: Ie2e91662a1e82c0a793952aab47c2acbde1596d4 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://pdfium-review.googlesource.com/16991 > Reviewed-by: Henrique Nakashima > Commit-Queue: Henrique Nakashima TBR=bungeman@chromium.org,dsinclair@chromium.org,hnakashima@chromium.org Change-Id: Iaae451131043ee69052809680922fdac06a69458 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://pdfium-review.googlesource.com/16992 Reviewed-by: Henrique Nakashima Commit-Queue: Henrique Nakashima --- .../resources/pixel/bug_113910_expected.pdf.0.png | Bin 1608 -> 1609 bytes .../resources/pixel/bug_524043_1_expected.pdf.0.png | Bin 5372 -> 5315 bytes .../resources/pixel/bug_524043_2_expected.pdf.0.png | Bin 2198 -> 2174 bytes .../resources/pixel/bug_524043_3_expected.pdf.0.png | Bin 5372 -> 5315 bytes .../resources/pixel/bug_524043_4_expected.pdf.0.png | Bin 5372 -> 5315 bytes .../resources/pixel/bug_524043_5_expected.pdf.0.png | Bin 5372 -> 5315 bytes .../resources/pixel/bug_524043_7_expected.pdf.0.png | Bin 2198 -> 2174 bytes .../resources/pixel/bug_528103_expected.pdf.0.png | Bin 4203 -> 4191 bytes .../pixel/bug_528103_expected_win.pdf.0.png | Bin 4199 -> 4193 bytes .../resources/pixel/bug_543018_1_expected.pdf.0.png | Bin 5372 -> 5315 bytes .../resources/pixel/bug_543018_2_expected.pdf.0.png | Bin 5372 -> 5315 bytes .../resources/pixel/bug_551258_1_expected.pdf.0.png | Bin 5372 -> 5315 bytes .../resources/pixel/bug_665467_expected.pdf.0.png | Bin 467 -> 467 bytes .../resources/pixel/bug_733528_expected.pdf.0.png | Bin 3469 -> 3465 bytes .../resources/pixel/bug_736695_2_expected.pdf.0.png | Bin 4399 -> 4404 bytes .../resources/pixel/bug_736695_3_expected.pdf.0.png | Bin 2868 -> 2860 bytes .../resources/pixel/font_size_expected.pdf.0.png | Bin 12035 -> 11961 bytes 17 files changed, 0 insertions(+), 0 deletions(-) (limited to 'testing/resources/pixel') diff --git a/testing/resources/pixel/bug_113910_expected.pdf.0.png b/testing/resources/pixel/bug_113910_expected.pdf.0.png index 734647a021..57c6f087f1 100644 Binary files a/testing/resources/pixel/bug_113910_expected.pdf.0.png and b/testing/resources/pixel/bug_113910_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_524043_1_expected.pdf.0.png b/testing/resources/pixel/bug_524043_1_expected.pdf.0.png index 7d1b89aedb..eabf957375 100644 Binary files a/testing/resources/pixel/bug_524043_1_expected.pdf.0.png and b/testing/resources/pixel/bug_524043_1_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_524043_2_expected.pdf.0.png b/testing/resources/pixel/bug_524043_2_expected.pdf.0.png index b366321f16..04304fe59b 100644 Binary files a/testing/resources/pixel/bug_524043_2_expected.pdf.0.png and b/testing/resources/pixel/bug_524043_2_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_524043_3_expected.pdf.0.png b/testing/resources/pixel/bug_524043_3_expected.pdf.0.png index 7d1b89aedb..eabf957375 100644 Binary files a/testing/resources/pixel/bug_524043_3_expected.pdf.0.png and b/testing/resources/pixel/bug_524043_3_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_524043_4_expected.pdf.0.png b/testing/resources/pixel/bug_524043_4_expected.pdf.0.png index 7d1b89aedb..eabf957375 100644 Binary files a/testing/resources/pixel/bug_524043_4_expected.pdf.0.png and b/testing/resources/pixel/bug_524043_4_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_524043_5_expected.pdf.0.png b/testing/resources/pixel/bug_524043_5_expected.pdf.0.png index 7d1b89aedb..eabf957375 100644 Binary files a/testing/resources/pixel/bug_524043_5_expected.pdf.0.png and b/testing/resources/pixel/bug_524043_5_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_524043_7_expected.pdf.0.png b/testing/resources/pixel/bug_524043_7_expected.pdf.0.png index b366321f16..04304fe59b 100644 Binary files a/testing/resources/pixel/bug_524043_7_expected.pdf.0.png and b/testing/resources/pixel/bug_524043_7_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_528103_expected.pdf.0.png b/testing/resources/pixel/bug_528103_expected.pdf.0.png index 504b5d33c2..5c0c25443b 100644 Binary files a/testing/resources/pixel/bug_528103_expected.pdf.0.png and b/testing/resources/pixel/bug_528103_expected.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 index 4275f50a16..aca0606af6 100644 Binary files a/testing/resources/pixel/bug_528103_expected_win.pdf.0.png and b/testing/resources/pixel/bug_528103_expected_win.pdf.0.png differ diff --git a/testing/resources/pixel/bug_543018_1_expected.pdf.0.png b/testing/resources/pixel/bug_543018_1_expected.pdf.0.png index 7d1b89aedb..eabf957375 100644 Binary files a/testing/resources/pixel/bug_543018_1_expected.pdf.0.png and b/testing/resources/pixel/bug_543018_1_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_543018_2_expected.pdf.0.png b/testing/resources/pixel/bug_543018_2_expected.pdf.0.png index 7d1b89aedb..eabf957375 100644 Binary files a/testing/resources/pixel/bug_543018_2_expected.pdf.0.png and b/testing/resources/pixel/bug_543018_2_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_551258_1_expected.pdf.0.png b/testing/resources/pixel/bug_551258_1_expected.pdf.0.png index 7d1b89aedb..eabf957375 100644 Binary files a/testing/resources/pixel/bug_551258_1_expected.pdf.0.png and b/testing/resources/pixel/bug_551258_1_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_665467_expected.pdf.0.png b/testing/resources/pixel/bug_665467_expected.pdf.0.png index 617cb0a916..e3b37b47d2 100644 Binary files a/testing/resources/pixel/bug_665467_expected.pdf.0.png and b/testing/resources/pixel/bug_665467_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_733528_expected.pdf.0.png b/testing/resources/pixel/bug_733528_expected.pdf.0.png index 2825db0d70..eaf48b5d5f 100644 Binary files a/testing/resources/pixel/bug_733528_expected.pdf.0.png and b/testing/resources/pixel/bug_733528_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_736695_2_expected.pdf.0.png b/testing/resources/pixel/bug_736695_2_expected.pdf.0.png index 7416cbaa23..33ea077362 100644 Binary files a/testing/resources/pixel/bug_736695_2_expected.pdf.0.png and b/testing/resources/pixel/bug_736695_2_expected.pdf.0.png differ diff --git a/testing/resources/pixel/bug_736695_3_expected.pdf.0.png b/testing/resources/pixel/bug_736695_3_expected.pdf.0.png index da7b571625..cbffe0a6f6 100644 Binary files a/testing/resources/pixel/bug_736695_3_expected.pdf.0.png and b/testing/resources/pixel/bug_736695_3_expected.pdf.0.png differ diff --git a/testing/resources/pixel/font_size_expected.pdf.0.png b/testing/resources/pixel/font_size_expected.pdf.0.png index bcb30c4cb6..b4506e0d2c 100644 Binary files a/testing/resources/pixel/font_size_expected.pdf.0.png and b/testing/resources/pixel/font_size_expected.pdf.0.png differ -- cgit v1.2.3