Code

Remove double unreffing of pointer in pdf-cairo.cpp. Fixes Bug #178985 with the...
[inkscape.git] / src / extension / internal / ps-out.cpp
index 31f5f241ec683b7810c2a1d6b9c4252c76685525..d59e246b092e1e9c468c4235ba54dddbaa908c1e 100644 (file)
@@ -24,12 +24,12 @@ namespace Extension {
 namespace Internal {
 
 bool
-PsOutput::check (Inkscape::Extension::Extension * module)
+PsOutput::check( Inkscape::Extension::Extension * /*module*/ )
 {
-       if (NULL == Inkscape::Extension::db.get(SP_MODULE_KEY_PRINT_PS))
-               return FALSE;
+    if (NULL == Inkscape::Extension::db.get(SP_MODULE_KEY_PRINT_PS))
+        return FALSE;
 
-       return TRUE;
+    return TRUE;
 }
 
 /**
@@ -81,12 +81,13 @@ PsOutput::init (void)
                "<inkscape-extension>\n"
                        "<name>" N_("Postscript Output") "</name>\n"
                        "<id>org.inkscape.output.ps</id>\n"
-                       "<param name=\"textToPath\" gui-text=\"" N_("Text to Path") "\" type=\"boolean\">true</param>\n"
+                       "<param name=\"textToPath\" gui-text=\"" N_("Convert texts to paths") "\" type=\"boolean\">true</param>\n"
+                       "<param name=\"fontEmbedded\" gui-text=\"" N_("Embed fonts (Type 1 only)") "\" type=\"boolean\">false</param>\n"
                        "<output>\n"
                                "<extension>.ps</extension>\n"
                                "<mimetype>image/x-postscript</mimetype>\n"
-                               "<filetypename>" N_("Postscript (*.ps)") "</filetypename>\n"
-                               "<filetypetooltip>" N_("Postscript File") "</filetypetooltip>\n"
+                               "<filetypename>" N_("PostScript (*.ps)") "</filetypename>\n"
+                               "<filetypetooltip>" N_("PostScript File") "</filetypetooltip>\n"
                        "</output>\n"
                "</inkscape-extension>", new PsOutput());