diff options
author | lassulus <lassulus@lassul.us> | 2017-08-21 14:21:56 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-08-21 14:21:56 +0200 |
commit | 3c98ddcb67f698001b8aca5523512c98ef3d2458 (patch) | |
tree | 34597aa4607a766f2c3f06e21a276c6c60fbe41f /makefu/5pkgs/custom/inkscape/dxf_fix.patch | |
parent | 6a9e241df642e5b6b21d264719c52b29d577ff42 (diff) | |
parent | d94f85a18cdcece49e3b95542567d8b1023f0da1 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/custom/inkscape/dxf_fix.patch')
-rw-r--r-- | makefu/5pkgs/custom/inkscape/dxf_fix.patch | 13 |
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 000000000..5ea0a073e --- /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) + + |