From ba32f76b7cf7834ceed14b535e96bd50e1cca281 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Fri, 29 Aug 2008 00:42:41 +0000 Subject: [PATCH] temporarily, make pdf exporters switchable for testing --- src/extension/init.cpp | 5 ++++- src/preferences-skeleton.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/extension/init.cpp b/src/extension/init.cpp index 0ce3dc100..d19a6efeb 100644 --- a/src/extension/init.cpp +++ b/src/extension/init.cpp @@ -161,9 +161,12 @@ init() Internal::EpsOutput::init(); Internal::PrintPS::init(); #ifdef HAVE_CAIRO_PDF + if (prefs_get_int_attribute("options.useoldpdfexporter", "value", 1) == 1) { + //g_print ("Using CairoPdfOutput: old pdf exporter\n"); Internal::CairoPdfOutput::init(); Internal::PrintCairoPDF::init(); - if (0) { + } else { + //g_print ("Using CairoRendererPdfOutput: new pdf exporter\n"); Internal::CairoRendererPdfOutput::init(); Internal::CairoRendererOutput::init(); } diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index b8ba12af5..78c79ebd1 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -192,6 +192,7 @@ static char const preferences_skeleton[] = " \n" "\n" " \n" +" " " " " " " " -- 2.30.2