forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PDF compositor generate full document from individual pages
During print preview when the PDF compositor is used, individual PDFs for each page are made for the preview. Prior art has the full document PDF used for printing being generated by sending a separate metafile blob for all the pages, which is overly large for long documents. This alters that to have the full document PDF get composited using the same individual page metafile objects as they are sent to the utility process for the composition. This effectively halves the amount of IPC traffic for Skia metafile data and eliminates potential huge metafile messages that can overwhelm IPC limits. This is only applicable for print preview scenarios that pass Skia metafile into PDF compositor. Non-modifiable content and basic printing are unaffected in behavior. Bug: 872935 Change-Id: I1101846a00498956b18c208ada656e65e4f175a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1616461 Commit-Queue: Alan Screen <awscreen@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#715165}
- Loading branch information
Alan Screen
authored and
Commit Bot
committed
Nov 14, 2019
1 parent
aece674
commit b1ea8aa
Showing
16 changed files
with
535 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.