summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2011-07-22 23:11:10 +0000
committerapenner <penner@vaxxine.com>2011-07-22 23:11:10 +0000
commit9af56ab9602b2ca0cf83e9562bad616df8399b46 (patch)
tree6da1e5d428c891c55f7b13399074d0f800819aab
parentFixed bug where having a font-family with an uninstalled font (or with a (diff)
downloadinkscape-9af56ab9602b2ca0cf83e9562bad616df8399b46.tar.gz
inkscape-9af56ab9602b2ca0cf83e9562bad616df8399b46.zip
patch by Giacomo Mirabassi for Bug 813366, support for image tag
Fixed bugs: - https://launchpad.net/bugs/813366 (bzr r10492)
-rw-r--r--share/extensions/simpletransform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/simpletransform.py b/share/extensions/simpletransform.py
index 5bb30070d..47cc61ec8 100644
--- a/share/extensions/simpletransform.py
+++ b/share/extensions/simpletransform.py
@@ -200,7 +200,7 @@ def computeBBox(aList,mat=[[1,0,0],[0,1,0]]):
d = node.get('d')
elif node.get('points'):
d = 'M' + node.get('points')
- elif node.tag in [ inkex.addNS('rect','svg'), 'rect' ]:
+ elif node.tag in [ inkex.addNS('rect','svg'), 'rect', inkex.addNS('image','svg'), 'image' ]:
d = 'M' + node.get('x', '0') + ',' + node.get('y', '0') + \
'h' + node.get('width') + 'v' + node.get('height') + \
'h-' + node.get('width')