diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-09-23 13:17:29 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-09-23 13:17:29 +0000 |
| commit | 7fd4a3fa7436b7064cf55474ff53b76be1e2a7dc (patch) | |
| tree | bc78390dbb4918bbe151e7587a3386d1fcc88543 /src/desktop-style.cpp | |
| parent | Fix a bug in BSpline, happend pressing any key hover a modified weight handle... (diff) | |
| download | inkscape-7fd4a3fa7436b7064cf55474ff53b76be1e2a7dc.tar.gz inkscape-7fd4a3fa7436b7064cf55474ff53b76be1e2a7dc.zip | |
Fix for #1334792. Correct inheritance for 'line-height' property.
(bzr r13341.1.217)
Diffstat (limited to 'src/desktop-style.cpp')
| -rw-r--r-- | src/desktop-style.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index 91359983b..2c20524a2 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -1012,8 +1012,8 @@ objects_query_fontnumbers (GSList *objects, SPStyle *style_res) } else if (style->line_height.unit == SP_CSS_UNIT_PERCENT || style->font_size.computed == 0) { linespacing_current = style->line_height.value; linespacing_normal = false; - } else { // we need % here - linespacing_current = style->line_height.computed / style->font_size.computed; + } else { + linespacing_current = style->line_height.computed; linespacing_normal = false; } linespacing += linespacing_current; |
