diff options
author | lassulus <lassulus@lassul.us> | 2017-10-09 13:25:46 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-10-09 13:25:46 +0200 |
commit | a357a82f9e10c8b35465d1d3458d51e49e8e5676 (patch) | |
tree | 0a8da6542296e9743c81226c3b8fdb9b239fbb8b /makefu/5pkgs/custom/inkscape/dxf_fix.patch | |
parent | 71e25af663f7b620a2adffa4ac5e0eeaef548a81 (diff) | |
parent | 903a1182b5c27cf0c07d267f136a0f2e5be3d89b (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 | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/makefu/5pkgs/custom/inkscape/dxf_fix.patch b/makefu/5pkgs/custom/inkscape/dxf_fix.patch index 5ea0a073e..b7b491d4e 100644 --- a/makefu/5pkgs/custom/inkscape/dxf_fix.patch +++ b/makefu/5pkgs/custom/inkscape/dxf_fix.patch @@ -1,13 +1,12 @@ ---- ./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) +--- ./share/extensions/dxf_outlines.py 2017-10-08 17:28:45.553368917 +0200 ++++ ./share/extensions/dxf_outlines.py.new 2017-10-08 17:29:20.172554152 +0200 +@@ -341,7 +341,7 @@ if not scale: scale = 25.4/96 # if no scale is specified, assume inch as baseunit + scale /= self.unittouu('1px') - h = self.unittouu(self.document.getroot().xpath('@height', namespaces=inkex.NSS)[0]) -+ h = self.unittouu(self.getDocumentHeight()) ++ h = self.unittouu(self.documentHeight()) self.groupmat = [[[scale, 0.0, 0.0], [0.0, -scale, h*scale]]] doc = self.document.getroot() self.process_group(doc) - |