summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 70f7507)
raw | patch | inline | side by side (parent: 70f7507)
author | buliabyak <> | |
Sat, 27 Mar 2010 22:40:38 +0000 (19:40 -0300) | ||
committer | buliabyak <> | |
Sat, 27 Mar 2010 22:40:38 +0000 (19:40 -0300) |
src/style.cpp | patch | blob | history |
diff --git a/src/style.cpp b/src/style.cpp
index 6d73e62ea37f076093b6c6fa1d607d99101dd330..19ff711dae9f313a9a208debef71abfab68fa775 100644 (file)
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -1446,16 +1446,19 @@ sp_style_merge_from_parent(SPStyle *const style, SPStyle const *const parent)
}
if (!style->line_height.set || style->line_height.inherit) {
+ style->line_height.value = parent->line_height.value;
style->line_height.computed = parent->line_height.computed;
style->line_height.normal = parent->line_height.normal;
}
if (!style->letter_spacing.set || style->letter_spacing.inherit) {
+ style->letter_spacing.value = parent->letter_spacing.value;
style->letter_spacing.computed = parent->letter_spacing.computed;
style->letter_spacing.normal = parent->letter_spacing.normal;
}
if (!style->word_spacing.set || style->word_spacing.inherit) {
+ style->word_spacing.value = parent->word_spacing.value;
style->word_spacing.computed = parent->word_spacing.computed;
style->word_spacing.normal = parent->word_spacing.normal;
}