diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2016-06-21 11:22:57 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2016-06-21 11:22:57 +0000 |
| commit | f0726870f87935e2081bfc08cafad3a6c82ac7ca (patch) | |
| tree | f01c1a1aea26de281b2a926e12a192132769dc71 | |
| parent | Fixing missing gettext keyword (regression introduced rev. 14057). (diff) | |
| download | inkscape-f0726870f87935e2081bfc08cafad3a6c82ac7ca.tar.gz inkscape-f0726870f87935e2081bfc08cafad3a6c82ac7ca.zip | |
[Bug #1594113] New extension Deep Ungroup includes hard-coded unit conversion based on 90dpi.
Fixed bugs:
- https://launchpad.net/bugs/1594113
(bzr r14998)
| -rw-r--r-- | share/extensions/ungroup_deep.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/extensions/ungroup_deep.py b/share/extensions/ungroup_deep.py index d27bb8a69..359232007 100644 --- a/share/extensions/ungroup_deep.py +++ b/share/extensions/ungroup_deep.py @@ -63,17 +63,17 @@ class Ungroup(inkex.Effect): elif s[-2:] == "px": return float(s[:-2]) elif s[-2:] == "pt": - return float(s[:-2]) * 1.25 + return float(s[:-2]) * 1.33 elif s[-2:] == "em": return float(s[:-2]) * 16 elif s[-2:] == "mm": - return float(s[:-2]) * 3.54 + return float(s[:-2]) * 3.779 elif s[-2:] == "pc": - return float(s[:-2]) * 15 + return float(s[:-2]) * 16 elif s[-2:] == "cm": - return float(s[:-2]) * 35.43 + return float(s[:-2]) * 37.79 elif s[-2:] == "in": - return float(s[:-2]) * 90 + return float(s[:-2]) * 96 else: return 1024 |
