Add Windows support for printed document metafile
The legacy Windows printing with GDI/EMF has a different print path from other desktop platforms, as it spools each page of a document separately so that the results can go through an extra conversion step from PDF to EMF before being sent to a device. With XPS printing path no extra conversion step is required, enabling Windows to use a similar interface as for other desktop platforms and get the document metafile and simply spool the job. This CL enables that option for XPS to coexist with GDI depending upon the |kUseXpsForPrinting| feature flag. This CL uses a NOTIMPLEMENTED in PrintingContextWin::PrintDocument() as a placeholder for where Skia calls will occur, which is to come in later CL. Bug: 1008222 Change-Id: I7d6b0a1ef737eaba358f99ed04e047d24a0e895e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1935946Reviewed-by:Lei Zhang <thestig@chromium.org> Commit-Queue: Alan Screen <awscreen@chromium.org> Cr-Commit-Position: refs/heads/master@{#723446}
Showing
Please register or sign in to comment