From 122682d2c36c8c70ff99010539074822673ace3b Mon Sep 17 00:00:00 2001 From: bulia byak Date: Tue, 24 Feb 2009 00:02:46 +0000 Subject: fix scaling of text without font size set (bzr r7358) --- src/sp-text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp-text.cpp') 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; -- cgit v1.2.3