diff options
author | Nicolas Pena <npm@chromium.org> | 2017-03-10 15:15:33 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-10 20:46:14 +0000 |
commit | 6791295a4e8c99097e6d75870871e128284f8cb5 (patch) | |
tree | b541a50b59773f34b227b2b459a52d643451289a /BUILD.gn | |
parent | 5c1961dfa0b1828eb2db38dc637548584c5cc704 (diff) | |
download | pdfium-6791295a4e8c99097e6d75870871e128284f8cb5.tar.xz |
Normalize channels when transforming CMYK to RGB
PDF spec, section 'DeviceCMYK Color Space' states that:
'Each component is specified by a number in the range 0.0 to 1.0'
BUG=chromium:699459
Change-Id: Ie476bbe8740c7b1b33c80be3e3dc4207df5e6e28
Reviewed-on: https://pdfium-review.googlesource.com/2954
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1745,6 +1745,7 @@ test("pdfium_unittests") { "core/fpdfapi/edit/cpdf_pagecontentgenerator_unittest.cpp", "core/fpdfapi/font/fpdf_font_cid_unittest.cpp", "core/fpdfapi/font/fpdf_font_unittest.cpp", + "core/fpdfapi/page/cpdf_devicecs_unittest.cpp", "core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp", "core/fpdfapi/page/cpdf_streamparser_unittest.cpp", "core/fpdfapi/parser/cpdf_array_unittest.cpp", |