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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 2970473002: Add generic text printing (Closed)
Patch Set: Address comment Created 3 years, 5 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 c4f8d644a2b2e7a3ad23f0922ed76ad8bced8231..d55a825058b51f799813d63db57034d556bd3091 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -4122,10 +4122,9 @@ void PDFiumEngineExports::SetPDFUseGDIPrinting(bool enable) {
FPDF_SetPrintTextWithGDI(enable);
}
-void PDFiumEngineExports::SetPDFPostscriptPrintingLevel(int postscript_level) {
- FPDF_SetPrintPostscriptLevel(postscript_level);
+void PDFiumEngineExports::SetPDFUsePrintMode(int mode) {
+ FPDF_SetPrintMode(mode);
}
-
#endif // defined(OS_WIN)
bool PDFiumEngineExports::RenderPDFPageToBitmap(

Powered by Google App Engine
This is Rietveld 408576698