PDF pages with image masks create large spool sizes |
|
Issue descriptionBecause image masks are not handled correctly by many printers (see http://crbug.com/576175 and http://crbug.com/482206 ) PDFium rasterizes any PDF page with a mask, which can result in unnecessarily large print jobs for some PDFs, such as the example in bug 482206 . We should look into rasterizing only the masked portions of the page to reduce spool sizes.
,
Apr 20 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5d8431f660056a90941e16f40c17c66a2e8ff485 commit 5d8431f660056a90941e16f40c17c66a2e8ff485 Author: pdfium-deps-roller@chromium.org <pdfium-deps-roller@chromium.org> Date: Thu Apr 20 22:38:26 2017 Roll src/third_party/pdfium/ e0b592236..88008a2be (52 commits) https://pdfium.googlesource.com/pdfium.git/+log/e0b592236db9..88008a2be11c $ git log e0b592236..88008a2be --date=short --no-merges --format='%ad %ae %s' 2017-04-20 dsinclair Cleanup some XFA widget code 2017-04-18 tsepez Take ContainsValue() change from base stl_util.h 2017-04-20 npm Let {Argb,Cmyk}Decode return tuples 2017-04-20 dsinclair Revert "core: allow building against system zlib" 2017-04-20 dsinclair Convert IFX_MemoryStream to CFX_MemoryStream 2017-04-20 tsepez Do not insert null node if ParseAsXDPPacket_Config fails 2017-04-20 dsinclair Move fxcrt_stream code to fx_stream file 2017-04-20 dsinclair Cleanup the fx_extension code. 2017-04-04 vmiklos core: choosen -> chosen 2017-04-19 npm Remove the friends of CPDF_FormField 2017-04-19 npm Split up CFX_DIBitmap::ConvertColorScale 2017-04-19 dsinclair Update IFX_CharIter::Clone to return unique_ptr 2017-04-19 dsinclair Rename array names to match codepage names 2017-04-19 dsinclair Cleanup codepage and charset definitions. 2017-04-19 dsinclair Cleanup the fgas_language defines 2017-04-19 dsinclair Move fde XML parser to core 2017-04-19 dsinclair Move CFGAS_Stream to CFX_SeekableStreamProxy 2017-04-18 tsepez Remove hand-written bsearch from XFA_GetAttributeEnumByName() 2017-04-18 tsepez Remove hand-written bsearch from XFA_GetAttributeByName() 2017-04-18 npm Libtiff upstream security fixes 2017-04-18 dsinclair Rename IFGAS_Stream to CFGAS_Stream 2017-04-18 dsinclair Remove IFGAS_Stream::CreateWideStringReadStream 2017-04-18 npm Libtiff upstream: _TIFFcalloc addition 2017-04-07 npm Clean up unneeded code in agg and skia driver 2017-04-18 dsinclair Fold the CFGAS_Stream subclasses in CFGAS_Stream 2017-04-18 dsinclair Codepage code into anonymouse namespace 2017-04-18 dsinclair Subclass the stream implementations from CFGAS_Stream 2017-04-18 tsepez Use unique_ptr in CFWL_NoteDriver::m_eventTargets map 2017-04-18 tsepez Use unique_ptr in JSGlobalAlternate::m_MapGlobal 2017-04-18 npm Check char sign in fx_ext.h 2017-04-18 dsinclair Rename text break files to match class names. 2017-04-18 dsinclair Update IFGAS_Stream::WriteString to take a string. 2017-04-18 dsinclair Cleanup XML buffer code 2017-04-17 tsepez Use Byte/WideString iterators 2017-04-18 dsinclair Remove unused class 2017-04-14 tsepez Use unique_ptr for m_pNormalWidget 2017-04-17 tsepez Require unique_ptr arg for CXFA_FMLexer::SetToken() 2017-04-17 rbpotter Render image masks individually instead of rendering the entire page as a bitmap in order to reduce spool sizes. 2017-04-16 thestig Remove dead barcode bitmap rendering code. 2017-04-17 tsepez Add iterators for Byte/WideStringCs. 2017-04-17 tsepez Fix buffer management issues in CFX_SAXReader. 2017-04-17 tsepez Replace indirect calls with switch in CFX_SaxReader. 2017-04-15 thestig Remove more references to GYP. 2017-04-17 tsepez Add unit test for CFX_SAXReader. 2017-04-15 thestig Roll build/ to a9eff4d. 2017-04-15 thestig Roll clang to d551679. 2017-04-13 tsepez Add ability to make StringCs from std::vector<>s. 2017-04-13 dsinclair Fold LoadFile{Read|Write} back into constructors 2017-04-13 tsepez Use vector of unique ptr in cpdf_data_avail.cpp. 2017-04-13 npm Add embeddertest for form text rendering and saving 2017-04-13 tsepez Move another opertator<<() prototype into correct .h file. 2017-04-13 vmiklos core: allow building against system zlib Created with: roll-dep src/third_party/pdfium BUG=682156,674771 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+/master/autoroll/README.md If the roll is causing failures, see: http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls TBR=dsinclair@chromium.org Change-Id: I133f97f52598852812283e7ccd9b08ffaa485a22 Reviewed-on: https://chromium-review.googlesource.com/483076 Reviewed-by: <pdfium-deps-roller@chromium.org> Commit-Queue: <pdfium-deps-roller@chromium.org> Cr-Commit-Position: refs/heads/master@{#466170} [modify] https://crrev.com/5d8431f660056a90941e16f40c17c66a2e8ff485/DEPS |
|
►
Sign in to add a comment |
|
Comment 1 by rbpotter@chromium.org
, Feb 8 2017Status: Started (was: Available)