diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-02-24 00:02:46 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-02-24 00:02:46 +0000 |
| commit | 122682d2c36c8c70ff99010539074822673ace3b (patch) | |
| tree | 4b8ab310c30bee0ffcb37bca4b3f501e47e70652 /src/sp-text.cpp | |
| parent | fix font size jump when unflowing flowed text (diff) | |
| download | inkscape-122682d2c36c8c70ff99010539074822673ace3b.tar.gz inkscape-122682d2c36c8c70ff99010539074822673ace3b.zip | |
fix scaling of text without font size set
(bzr r7358)
Diffstat (limited to 'src/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
