summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/extension/init.cpp5
-rw-r--r--src/preferences-skeleton.h1
2 files changed, 5 insertions, 1 deletions
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[] =
" </group>\n"
"\n"
" <group id=\"options\">\n"
+" <group id=\"useoldpdfexporter\" value=\"0\" />"
" <group id=\"highlightoriginal\" value=\"1\" />"
" <group id=\"relinkclonesonduplicate\" value=\"0\" />"
" <group id=\"mapalt\" value=\"1\" />"