Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 2633573002: Add Postscript Printing (Closed)
Patch Set: Fix Linux compile error Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pdf/pdfium/pdfium_engine.cc
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc
index 111ea87135e6dea30ab3a9d194b709fdb44f2993..3e8f5b4971c7882edaeda36a2909ca6df1915483 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -4103,6 +4103,12 @@ void PDFiumEngineExports::SetPDFEnsureTypefaceCharactersAccessible(
void PDFiumEngineExports::SetPDFUseGDIPrinting(bool enable) {
FPDF_SetPrintTextWithGDI(enable);
}
+
+void PDFiumEngineExports::SetPDFPostscriptPrintingLevel(
+ int postscript_level) {
+ FPDF_SetPrintPostscriptLevel(postscript_level);
+}
+
#endif // defined(OS_WIN)
bool PDFiumEngineExports::RenderPDFPageToBitmap(

Powered by Google App Engine
This is Rietveld 408576698