diff options
| author | Sebastian Wüst <sebi@timewaster.de> | 2013-10-28 17:23:42 +0000 |
|---|---|---|
| committer | Sebastian Wüst <sebi@timewaster.de> | 2013-10-28 17:23:42 +0000 |
| commit | c6ad2a34d38795059888d3c900dbf1047bfd5fdd (patch) | |
| tree | 88de58a63003bd2ea6edda9c895d3c0466a38e6b /share/extensions/split.py | |
| parent | text change (diff) | |
| parent | Fix for bug #1156394 (OCAL dialog: Close button in German localization contai... (diff) | |
| download | inkscape-c6ad2a34d38795059888d3c900dbf1047bfd5fdd.tar.gz inkscape-c6ad2a34d38795059888d3c900dbf1047bfd5fdd.zip | |
mrege from trunk
(bzr r12417.1.31)
Diffstat (limited to 'share/extensions/split.py')
| -rwxr-xr-x | share/extensions/split.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/extensions/split.py b/share/extensions/split.py index 0cbc7b05b..18d4327fe 100755 --- a/share/extensions/split.py +++ b/share/extensions/split.py @@ -58,7 +58,7 @@ class Split(inkex.Effect): fontsize = parseStyle(node.get("style"))["font-size"] except: fontsize = "12px" - fs = inkex.unittouu(fontsize) + fs = self.unittouu(fontsize) #selects the flowRegion's child (svg:rect) to get @X and @Y id = node.get("id") @@ -124,7 +124,7 @@ class Split(inkex.Effect): fontsize = parseStyle(line.get("style"))["font-size"] except: fontsize = "12px" - fs = inkex.unittouu(fontsize) + fs = self.unittouu(fontsize) #extract and returns a list of words words_list = "".join(plain_str(line)).split() @@ -170,7 +170,7 @@ class Split(inkex.Effect): fontsize = simplestyle.parseStyle(word.get("style"))["font-size"] except: fontsize = "12px" - fs = inkex.unittouu(fontsize) + fs = self.unittouu(fontsize) #for each letter in element string for letter in word[0].text: |
