summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/custom/inkscape/dxf_fix.patch
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-08-24 17:39:53 +0200
committertv <tv@krebsco.de>2017-08-24 17:39:53 +0200
commitfd69096a27575b9d4d87a10af1492b273dad167c (patch)
treeaa3e7dc121d3188a16a37a6751ec774abcc0df81 /makefu/5pkgs/custom/inkscape/dxf_fix.patch
parentb9a4e834c06bc32fa38389e13c0ec42467c0fc46 (diff)
parentfd6b42355907de5313ea3576e5d1bfa549433099 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/5pkgs/custom/inkscape/dxf_fix.patch')
-rw-r--r--makefu/5pkgs/custom/inkscape/dxf_fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/makefu/5pkgs/custom/inkscape/dxf_fix.patch b/makefu/5pkgs/custom/inkscape/dxf_fix.patch
new file mode 100644
index 00000000..5ea0a073
--- /dev/null
+++ b/makefu/5pkgs/custom/inkscape/dxf_fix.patch
@@ -0,0 +1,13 @@
+--- ./share/extensions/dxf_outlines.py 2017-02-14 00:46:57.000000000 +0100
++++ ./share/extensions/dxf_outlines.py.new 2017-05-10 04:15:03.000000000 +0200
+@@ -340,7 +340,7 @@
+ scale = eval(self.options.units)
+ if not scale:
+ scale = 25.4/96 # if no scale is specified, assume inch as baseunit
+- h = self.unittouu(self.document.getroot().xpath('@height', namespaces=inkex.NSS)[0])
++ h = self.unittouu(self.getDocumentHeight())
+ self.groupmat = [[[scale, 0.0, 0.0], [0.0, -scale, h*scale]]]
+ doc = self.document.getroot()
+ self.process_group(doc)
+
+