diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-10-28 11:30:14 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-10-28 11:30:14 +0000 |
| commit | 1a12c0f5f163794584dfe7b25d4f1feb3156cb6d (patch) | |
| tree | d6c79997499865b493f1986042a4b3f23f945f1e /src/object/sp-text.cpp | |
| parent | Update cs.po (diff) | |
| download | inkscape-1a12c0f5f163794584dfe7b25d4f1feb3156cb6d.tar.gz inkscape-1a12c0f5f163794584dfe7b25d4f1feb3156cb6d.zip | |
refactor SPIEnum: more type safety
fixes ungrouping of "font-weight:bolder"
fixes "titling-caps" parsing
fixes a casting error in CairoRenderContext::renderGlyphtext
Diffstat (limited to 'src/object/sp-text.cpp')
| -rw-r--r-- | src/object/sp-text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/sp-text.cpp b/src/object/sp-text.cpp index 94c35169c..3cfae54cb 100644 --- a/src/object/sp-text.cpp +++ b/src/object/sp-text.cpp @@ -896,7 +896,7 @@ void SPText::_adjustFontsizeRecursive(SPItem *item, double ex, bool is_root) if (style && !Geom::are_near(ex, 1.0)) { if (!style->font_size.set && is_root) { - style->font_size.set = 1; + style->font_size.set = true; } style->font_size.type = SP_FONT_SIZE_LENGTH; style->font_size.computed *= ex; |
