diff options
| author | bulia byak <buliabyak@gmail.com> | 2008-08-29 00:42:41 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2008-08-29 00:42:41 +0000 |
| commit | 48041252b8cef6ca5e4f05a25ea0ba166ede8058 (patch) | |
| tree | fa4bfa3120e3e2e46b965b67f6339157509c9f48 /src | |
| parent | fix crash on trying to autosave with no documents (e.g. when inkscape was giv... (diff) | |
| download | inkscape-48041252b8cef6ca5e4f05a25ea0ba166ede8058.tar.gz inkscape-48041252b8cef6ca5e4f05a25ea0ba166ede8058.zip | |
temporarily, make pdf exporters switchable for testing
(bzr r6725)
Diffstat (limited to 'src')
| -rw-r--r-- | src/extension/init.cpp | 5 | ||||
| -rw-r--r-- | src/preferences-skeleton.h | 1 |
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\" />" |
