Code

Hack to get dxf (R12) export working as suggested by ~suv:
authortavmjong <tavmjong@users.sourceforge.net>
Mon, 3 Aug 2009 15:56:34 +0000 (15:56 +0000)
committertavmjong <tavmjong@users.sourceforge.net>
Mon, 3 Aug 2009 15:56:34 +0000 (15:56 +0000)
s/org.inkscape.output.ps/org.inkscape.print.ps.cairo/

Also changed menu entry to show that dxf output is with R12 format.

share/extensions/dxf_output.inx

index 0cb0b734fe0af61503a3ca4ec0bdda2f00e637ea..7f43fc13128cf5a86c5bad57f3aef9195163907a 100644 (file)
@@ -2,17 +2,17 @@
 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
     <_name>DXF Output</_name>
     <id>org.inkscape.output.dxf</id>
-    <dependency type="extension">org.inkscape.output.ps</dependency>
+    <dependency type="extension">org.inkscape.print.ps.cairo</dependency>
     <dependency type="executable" location="extensions">ps2dxf.sh</dependency>
     <dependency type="executable" _description="pstoedit must be installed to run; see http://www.pstoedit.net/pstoedit">pstoedit</dependency>
     <output>
         <extension>.dxf</extension>
         <mimetype>image/dxf</mimetype>
-        <_filetypename>AutoCAD DXF (*.dxf)</_filetypename>
+        <_filetypename>AutoCAD DXF R12 (*.dxf)</_filetypename>
         <_filetypetooltip>DXF file written by pstoedit</_filetypetooltip>
     </output>
     <script>
         <command reldir="extensions">ps2dxf.sh</command>
-        <helper_extension>org.inkscape.output.ps</helper_extension>
+        <helper_extension>org.inkscape.print.ps.cairo</helper_extension>
     </script>
 </inkscape-extension>