From b717ad7fc97edcb36c4e882a81a133623fa3ff7d Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 24 Feb 2009 00:02:46 +0000 Subject: [PATCH] fix scaling of text without font size set --- src/sp-text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2