From: buliabyak Date: Tue, 24 Feb 2009 00:02:46 +0000 (+0000) Subject: fix scaling of text without font size set X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b717ad7fc97edcb36c4e882a81a133623fa3ff7d;p=inkscape.git fix scaling of text without font size set --- diff --git a/src/sp-text.cpp b/src/sp-text.cpp index abfb9ca65..91a8a0361 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -604,8 +604,8 @@ void SPText::_adjustFontsizeRecursive(SPItem *item, double ex, bool is_root) if (style && !NR_DF_TEST_CLOSE (ex, 1.0, NR_EPSILON)) { if (!style->font_size.set && is_root) { style->font_size.set = 1; - style->font_size.type = SP_FONT_SIZE_LENGTH; } + style->font_size.type = SP_FONT_SIZE_LENGTH; style->font_size.computed *= ex; style->letter_spacing.computed *= ex; style->word_spacing.computed *= ex;