From: tavmjong-free Date: Sun, 6 Jun 2010 19:55:16 +0000 (+0200) Subject: Compute baseline-shift relative to parent baseline-shift. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;ds=sidebyside;h=e4e446f7ceb73587cde87d5378e1dc9f91611c1f;hp=a7093c1a167c7c746b749df527ad9792d5d21998;p=inkscape.git Compute baseline-shift relative to parent baseline-shift. --- 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; } /**