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

Unified Diff: pdf/pdf.cc

Issue 2114583002: Windows: Make it possible to print text with GDI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase again, resolve conflicts Created 4 years, 4 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
« no previous file with comments | « pdf/pdf.h ('k') | pdf/pdf_engine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdf.cc
diff --git a/pdf/pdf.cc b/pdf/pdf.cc
index bad2ac4e2a8951c64dfe731d7449cf218089d68a..57d5b0178c87c8db266d97068364c0046884dac7 100644
--- a/pdf/pdf.cc
+++ b/pdf/pdf.cc
@@ -115,6 +115,14 @@ bool RenderPDFPageToDC(const void* pdf_buffer,
return ret;
}
+void SetPDFEnsureTypefaceCharactersAccessible(
+ PDFEnsureTypefaceCharactersAccessible func) {
+ PDFEngineExports::Get()->SetPDFEnsureTypefaceCharactersAccessible(func);
+}
+
+void SetPDFUseGDIPrinting(bool enable) {
+ PDFEngineExports::Get()->SetPDFUseGDIPrinting(enable);
+}
#endif // defined(OS_WIN)
bool GetPDFDocInfo(const void* pdf_buffer,
« no previous file with comments | « pdf/pdf.h ('k') | pdf/pdf_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698