diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-10-27 15:36:33 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-27 15:48:17 +0000 |
commit | 42613d8961fe1011210facebe2c8187f79c8eb21 (patch) | |
tree | 8752f17f8e0f604b30c66695dbf12602301c60bf /testing | |
parent | bef4d3e97bba3274add9738d6b199f7760c88f53 (diff) | |
download | pdfium-42613d8961fe1011210facebe2c8187f79c8eb21.tar.xz |
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 <hnakashima@chromium.org>
> Reviewed-by: dsinclair <dsinclair@chromium.org>
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 <hnakashima@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'testing')
18 files changed, 4 insertions, 4 deletions
diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS index 1edc158161..feb862e3b1 100644 --- a/testing/SUPPRESSIONS +++ b/testing/SUPPRESSIONS @@ -132,12 +132,12 @@ example_006.pdf mac,win * * example_007.pdf mac * * example_008.pdf mac * * example_009.pdf mac * * -example_010.pdf mac * * +example_010.pdf mac,win * * example_011.pdf mac * * example_012.pdf mac * * example_013.pdf mac * * example_014.pdf mac * * -example_015.pdf mac * * +example_015.pdf mac,win * * example_016.pdf mac * * example_017.pdf mac * * example_018.pdf mac * * @@ -145,7 +145,7 @@ example_019.pdf mac * * example_020.pdf mac * * example_021.pdf mac * * example_022.pdf mac * * -example_023.pdf mac * * +example_023.pdf mac,win * * example_024.pdf mac * * example_025.pdf mac * * example_026.pdf mac * * @@ -175,7 +175,7 @@ example_049.pdf mac * * example_050.pdf mac * * example_051.pdf mac * * example_052.pdf mac * * -example_053.pdf mac * * +example_053.pdf mac,win * * example_054.pdf mac * * example_055.pdf mac,win * * example_056.pdf mac * * diff --git a/testing/resources/pixel/bug_113910_expected.pdf.0.png b/testing/resources/pixel/bug_113910_expected.pdf.0.png Binary files differindex 57c6f087f1..734647a021 100644 --- a/testing/resources/pixel/bug_113910_expected.pdf.0.png +++ b/testing/resources/pixel/bug_113910_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_524043_1_expected.pdf.0.png b/testing/resources/pixel/bug_524043_1_expected.pdf.0.png Binary files differindex eabf957375..7d1b89aedb 100644 --- a/testing/resources/pixel/bug_524043_1_expected.pdf.0.png +++ b/testing/resources/pixel/bug_524043_1_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_524043_2_expected.pdf.0.png b/testing/resources/pixel/bug_524043_2_expected.pdf.0.png Binary files differindex 04304fe59b..b366321f16 100644 --- a/testing/resources/pixel/bug_524043_2_expected.pdf.0.png +++ b/testing/resources/pixel/bug_524043_2_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_524043_3_expected.pdf.0.png b/testing/resources/pixel/bug_524043_3_expected.pdf.0.png Binary files differindex eabf957375..7d1b89aedb 100644 --- a/testing/resources/pixel/bug_524043_3_expected.pdf.0.png +++ b/testing/resources/pixel/bug_524043_3_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_524043_4_expected.pdf.0.png b/testing/resources/pixel/bug_524043_4_expected.pdf.0.png Binary files differindex eabf957375..7d1b89aedb 100644 --- a/testing/resources/pixel/bug_524043_4_expected.pdf.0.png +++ b/testing/resources/pixel/bug_524043_4_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_524043_5_expected.pdf.0.png b/testing/resources/pixel/bug_524043_5_expected.pdf.0.png Binary files differindex eabf957375..7d1b89aedb 100644 --- a/testing/resources/pixel/bug_524043_5_expected.pdf.0.png +++ b/testing/resources/pixel/bug_524043_5_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_524043_7_expected.pdf.0.png b/testing/resources/pixel/bug_524043_7_expected.pdf.0.png Binary files differindex 04304fe59b..b366321f16 100644 --- a/testing/resources/pixel/bug_524043_7_expected.pdf.0.png +++ b/testing/resources/pixel/bug_524043_7_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_528103_expected.pdf.0.png b/testing/resources/pixel/bug_528103_expected.pdf.0.png Binary files differindex 5c0c25443b..504b5d33c2 100644 --- a/testing/resources/pixel/bug_528103_expected.pdf.0.png +++ b/testing/resources/pixel/bug_528103_expected.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 differindex aca0606af6..4275f50a16 100644 --- a/testing/resources/pixel/bug_528103_expected_win.pdf.0.png +++ b/testing/resources/pixel/bug_528103_expected_win.pdf.0.png diff --git a/testing/resources/pixel/bug_543018_1_expected.pdf.0.png b/testing/resources/pixel/bug_543018_1_expected.pdf.0.png Binary files differindex eabf957375..7d1b89aedb 100644 --- a/testing/resources/pixel/bug_543018_1_expected.pdf.0.png +++ b/testing/resources/pixel/bug_543018_1_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_543018_2_expected.pdf.0.png b/testing/resources/pixel/bug_543018_2_expected.pdf.0.png Binary files differindex eabf957375..7d1b89aedb 100644 --- a/testing/resources/pixel/bug_543018_2_expected.pdf.0.png +++ b/testing/resources/pixel/bug_543018_2_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_551258_1_expected.pdf.0.png b/testing/resources/pixel/bug_551258_1_expected.pdf.0.png Binary files differindex eabf957375..7d1b89aedb 100644 --- a/testing/resources/pixel/bug_551258_1_expected.pdf.0.png +++ b/testing/resources/pixel/bug_551258_1_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_665467_expected.pdf.0.png b/testing/resources/pixel/bug_665467_expected.pdf.0.png Binary files differindex e3b37b47d2..617cb0a916 100644 --- a/testing/resources/pixel/bug_665467_expected.pdf.0.png +++ b/testing/resources/pixel/bug_665467_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_733528_expected.pdf.0.png b/testing/resources/pixel/bug_733528_expected.pdf.0.png Binary files differindex eaf48b5d5f..2825db0d70 100644 --- a/testing/resources/pixel/bug_733528_expected.pdf.0.png +++ b/testing/resources/pixel/bug_733528_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_736695_2_expected.pdf.0.png b/testing/resources/pixel/bug_736695_2_expected.pdf.0.png Binary files differindex 33ea077362..7416cbaa23 100644 --- a/testing/resources/pixel/bug_736695_2_expected.pdf.0.png +++ b/testing/resources/pixel/bug_736695_2_expected.pdf.0.png diff --git a/testing/resources/pixel/bug_736695_3_expected.pdf.0.png b/testing/resources/pixel/bug_736695_3_expected.pdf.0.png Binary files differindex cbffe0a6f6..da7b571625 100644 --- a/testing/resources/pixel/bug_736695_3_expected.pdf.0.png +++ b/testing/resources/pixel/bug_736695_3_expected.pdf.0.png diff --git a/testing/resources/pixel/font_size_expected.pdf.0.png b/testing/resources/pixel/font_size_expected.pdf.0.png Binary files differindex b4506e0d2c..bcb30c4cb6 100644 --- a/testing/resources/pixel/font_size_expected.pdf.0.png +++ b/testing/resources/pixel/font_size_expected.pdf.0.png |