SkPDF: skia_pdf_less_compression - for debugging only
authorhalcanary <halcanary@google.com>
Tue, 29 Mar 2016 17:10:24 +0000 (10:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 29 Mar 2016 17:10:24 +0000 (10:10 -0700)
commit6e26205cece95702d34f935669498b569db72626
tree149b8eb852c2d33399c60dc4994ee323d96337a3
parentffe54004b92f84b65ee4569aaccbc178c51b017f
SkPDF: skia_pdf_less_compression - for debugging only

Motivation: as we implement more features in PDF, it would be nice to more easily see what is happening in the output.  This change serializes page content as plain text rather than compressed text, but it has to be explicitly enabled with a GYP_DEFINE change:

    export GYP_DEFINES='skia_pdf_less_compression=1'
    bin/sync-and-gyp
    ninja -C out/Debug dm
    out/Debug/dm --config pdf --src gm -w /tmp

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1840103002

Review URL: https://codereview.chromium.org/1840103002
gyp/pdf.gyp
src/pdf/SkPDFStream.cpp
src/pdf/SkPDFTypes.cpp