Expose additional flags for rasterization.
authorScott Byer <scottbyer@chromium.org>
Wed, 6 May 2015 00:02:40 +0000 (17:02 -0700)
committerVitaly Buka <vitalybuka@chromium.org>
Wed, 6 May 2015 00:02:40 +0000 (17:02 -0700)
commit5dee6299cc103e5e0bfb138198f2369856ee81a9
treecc21e5231b446458c8cec12849e7389cc0fea5ce
parent2cf0d21788974dd1ea19a68259c4fbccb0e56897
Expose additional flags for rasterization.

These flags are unused in Chromium, but are needed for the Cloud Print
conversion process, which takes PDF and produces a raster for low-end
printers. Certain low-end printers (e.g., B&W laser printers) will
turn anti-aliased text into a mess. The existing printing flag isn't
sufficient, as other kinds of printers will still want some kinds of
anti-aliasing to occur for best results.

BUG=482253
TEST=none
R=vitalybuka@chromium.org

Review URL: https://codereview.chromium.org/1115513002

Patch from Scott Byer <scottbyer@chromium.org>.
fpdfsdk/include/fpdfview.h
fpdfsdk/src/fpdfview.cpp