From 5b26e7642a6b2fb11bd8371aafd816c5a130ca36 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Thu, 1 May 2008 16:12:39 +0000 Subject: enable text-to-path command line control for pdf export (bzr r5567) --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index eafa07c53..46d3082f1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1263,6 +1263,12 @@ static void do_export_pdf(SPDocument* doc, gchar const* uri, char const* mime) (*i)->set_param_bool ("exportCanvas", FALSE); } + if (sp_export_text_to_path) { + (*i)->set_param_bool("textToPath", TRUE); + } else { + (*i)->set_param_bool("textToPath", FALSE); + } + (*i)->save(doc, uri); } -- cgit v1.2.3