diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-03-30 18:58:46 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-03-30 18:58:46 +0000 |
| commit | fd1988584d74008516463f33fc98e819ab838f9b (patch) | |
| tree | 8be8b02d440bf7182a93c6daa0296f90a6dc922a /src/style.cpp | |
| parent | Partial fix for bug 156221 ('line-height' with non-pixel scaled drawing). (diff) | |
| download | inkscape-fd1988584d74008516463f33fc98e819ab838f9b.tar.gz inkscape-fd1988584d74008516463f33fc98e819ab838f9b.zip | |
Finish fixing bug 156221 ('line-height' with non-px scaling).
(bzr r14753)
Diffstat (limited to 'src/style.cpp')
| -rw-r--r-- | src/style.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/style.cpp b/src/style.cpp index 1f98a50a3..c24818f2a 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -1900,8 +1900,9 @@ sp_css_attr_scale_property_single(SPCSSAttr *css, gchar const *property, if (w == units) {// nothing converted, non-numeric value return; } - if (only_with_units && (units == NULL || *units == '\0' || *units == '%')) { + if (only_with_units && (units == NULL || *units == '\0' || *units == '%' || *units == 'e')) { // only_with_units, but no units found, so do nothing. + // 'e' matches 'em' or 'ex' return; } Inkscape::CSSOStringStream os; |
