From 271a2980355a409dea9f896a2997aedcff6c8a13 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Wed, 4 Feb 2015 15:34:21 +0100 Subject: Fix for Bug #1417990 (Trunk: crash on export to PS/EPS/PDF via command line (rev >= 13880)). Fixed bugs: - https://launchpad.net/bugs/1417990 (bzr r13898) --- src/main.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 06c0d4873..15576109d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1722,15 +1722,11 @@ static int do_export_ps_pdf(SPDocument* doc, gchar const* uri, char const* mime) } if (sp_export_text_to_path) { - (*i)->set_param_bool("textToPath", TRUE); + (*i)->set_param_optiongroup("textToPath", "paths"); + } else if (sp_export_latex) { + (*i)->set_param_optiongroup("textToPath", "LaTeX"); } else { - (*i)->set_param_bool("textToPath", FALSE); - } - - if (sp_export_latex) { - (*i)->set_param_bool("textToLaTeX", TRUE); - } else { - (*i)->set_param_bool("textToLaTeX", FALSE); + (*i)->set_param_optiongroup("textToPath", "embed"); } if (sp_export_ignore_filters) { -- cgit v1.2.3 From 5865f0044d4d75a2d988a8bf2ea3bc65ed6f4c18 Mon Sep 17 00:00:00 2001 From: "Liam P. White" Date: Wed, 25 Feb 2015 17:24:47 -0500 Subject: Isolate components of libgc (bzr r13946) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 15576109d..5dd8b7cff 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -52,7 +52,7 @@ #include #include -#include "gc-core.h" +#include "libgc/gc-core.h" #ifdef AND #undef AND -- cgit v1.2.3 From 3b0e6ebad7223a61510fad03e241ceadfae961f0 Mon Sep 17 00:00:00 2001 From: "Liam P. White" Date: Wed, 25 Feb 2015 21:49:35 -0500 Subject: Rename libgc/ => inkgc/ to reflect difference from Boehm GC (bzr r13950) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 5dd8b7cff..415118407 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -52,7 +52,7 @@ #include #include -#include "libgc/gc-core.h" +#include "inkgc/gc-core.h" #ifdef AND #undef AND -- cgit v1.2.3