--- src/extension/internal/cairo-ps-out.cpp Tue Jun 10 13:40:57 2014 +++ src/extension/internal/cairo-ps-out.cpp Thu Jul 03 13:49:22 2014 @@ -146,12 +146,12 @@ bool new_textToPath = FALSE; try { - new_textToPath = mod->get_param_bool("textToPath"); + new_textToPath = (strcmp(mod->get_param_optiongroup("textToPath"), "paths") == 0); } catch(...) {} bool new_textToLaTeX = FALSE; try { - new_textToLaTeX = mod->get_param_bool("textToLaTeX"); + new_textToLaTeX = (strcmp(mod->get_param_optiongroup("textToPath"), "LaTeX") == 0); } catch(...) { g_warning("Parameter might not exist"); @@ -235,12 +235,12 @@ bool new_textToPath = FALSE; try { - new_textToPath = mod->get_param_bool("textToPath"); + new_textToPath = (strcmp(mod->get_param_optiongroup("textToPath"), "paths") == 0); } catch(...) {} bool new_textToLaTeX = FALSE; try { - new_textToLaTeX = mod->get_param_bool("textToLaTeX"); + new_textToLaTeX = (strcmp(mod->get_param_optiongroup("textToPath"), "LaTeX") == 0); } catch(...) { g_warning("Parameter might not exist"); @@ -330,8 +330,11 @@ "<_item value='PS3'>" N_("PostScript level 3") "\n" "<_item value='PS2'>" N_("PostScript level 2") "\n" "\n" - "false\n" - "false\n" + "\n" + "\n" + "\n" + "\n" + "\n" "true\n" "90\n" "\n" @@ -369,8 +372,11 @@ "<_item value='PS3'>" N_("PostScript level 3") "\n" "<_item value='PS2'>" N_("PostScript level 2") "\n" "\n" - "false\n" - "false\n" + "\n" + "\n" + "\n" + "\n" + "\n" "true\n" "90\n" "\n" --- cairo-renderer-pdf-out.cpp Mon May 12 09:01:30 2014 +++ cairo-renderer-pdf-out.cpp Thu Jul 03 13:47:56 2014 @@ -149,7 +149,7 @@ bool new_textToPath = FALSE; try { - new_textToPath = mod->get_param_bool("textToPath"); + new_textToPath = (strcmp(mod->get_param_optiongroup("textToPath"), "paths") == 0); } catch(...) { g_warning("Parameter might not exist"); @@ -157,7 +157,7 @@ bool new_textToLaTeX = FALSE; try { - new_textToLaTeX = mod->get_param_bool("textToLaTeX"); + new_textToLaTeX = (strcmp(mod->get_param_optiongroup("textToPath"), "LaTeX") == 0); } catch(...) { g_warning("Parameter might not exist"); @@ -247,8 +247,11 @@ #endif "<_item value='PDF-1.4'>" N_("PDF 1.4") "\n" "\n" - "false\n" - "false\n" + "\n" + "\n" + "\n" + "\n" + "\n" "true\n" "90\n" "\n"