summaryrefslogtreecommitdiffstats
path: root/src/style.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2010-06-06 19:55:16 +0000
committertavmjong-free <tavmjong@free.fr>2010-06-06 19:55:16 +0000
commit699b0d5d019fcec06a122da5849ffddedfbbd98d (patch)
tree8e088abd981e84a2af58be4c7e9aa27882c6bf12 /src/style.cpp
parentForgot to make JessyInk installable. Oops. (diff)
downloadinkscape-699b0d5d019fcec06a122da5849ffddedfbbd98d.tar.gz
inkscape-699b0d5d019fcec06a122da5849ffddedfbbd98d.zip
Compute baseline-shift relative to parent baseline-shift.
(bzr r9487)
Diffstat (limited to 'src/style.cpp')
-rw-r--r--src/style.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 9c82b1b7a..b3cc370f9 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -1396,6 +1396,8 @@ sp_style_merge_baseline_shift_from_parent(SPIBaselineShift &child, SPIBaselineSh
break;
}
}
+ // baseline-shifts are relative to parent baseline
+ child.computed += parent.computed;
}
/**