summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdfsdk/fpdf_view.cpp5
-rw-r--r--fpdfsdk/fpdf_view_c_api_test.c1
-rw-r--r--public/fpdfview.h13
3 files changed, 0 insertions, 19 deletions
diff --git a/fpdfsdk/fpdf_view.cpp b/fpdfsdk/fpdf_view.cpp
index a0877f38b5..655aed8141 100644
--- a/fpdfsdk/fpdf_view.cpp
+++ b/fpdfsdk/fpdf_view.cpp
@@ -209,11 +209,6 @@ FPDF_EXPORT void FPDF_CALLCONV FPDF_SetPrintTextWithGDI(FPDF_BOOL use_gdi) {
}
#endif // PDFIUM_PRINT_TEXT_WITH_GDI
-FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
-FPDF_SetPrintPostscriptLevel(int postscript_level) {
- return postscript_level != 1 && FPDF_SetPrintMode(postscript_level);
-}
-
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDF_SetPrintMode(int mode) {
if (mode < FPDF_PRINTMODE_EMF || mode > FPDF_PRINTMODE_POSTSCRIPT3)
return FALSE;
diff --git a/fpdfsdk/fpdf_view_c_api_test.c b/fpdfsdk/fpdf_view_c_api_test.c
index df7ade8539..d00f353db5 100644
--- a/fpdfsdk/fpdf_view_c_api_test.c
+++ b/fpdfsdk/fpdf_view_c_api_test.c
@@ -325,7 +325,6 @@ int CheckPDFiumCApi() {
CHK(FPDF_SetTypefaceAccessibleFunc);
CHK(FPDF_SetPrintTextWithGDI);
#endif
- CHK(FPDF_SetPrintPostscriptLevel);
CHK(FPDF_SetPrintMode);
#endif
CHK(FPDF_LoadDocument);
diff --git a/public/fpdfview.h b/public/fpdfview.h
index de7fbe4663..0660eb1a3b 100644
--- a/public/fpdfview.h
+++ b/public/fpdfview.h
@@ -268,19 +268,6 @@ FPDF_SetTypefaceAccessibleFunc(PDFiumEnsureTypefaceCharactersAccessible func);
FPDF_EXPORT void FPDF_CALLCONV FPDF_SetPrintTextWithGDI(FPDF_BOOL use_gdi);
#endif // PDFIUM_PRINT_TEXT_WITH_GDI
-// Function: FPDF_SetPrintPostscriptLevel
-// Set postscript printing level when printing on Windows.
-// Experimental API.
-// Parameters:
-// postscript_level- 0 to disable postscript printing,
-// 2 to print with postscript level 2,
-// 3 to print with postscript level 3.
-// All other values are invalid.
-// Return value:
-// True if successful, false if unsuccessful (typically invalid input).
-FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV
-FPDF_SetPrintPostscriptLevel(int postscript_level);
-
// Function: FPDF_SetPrintMode
// Set printing mode when printing on Windows.
// Experimental API.