From 1a12c0f5f163794584dfe7b25d4f1feb3156cb6d Mon Sep 17 00:00:00 2001 From: Thomas Holder Date: Mon, 28 Oct 2019 12:30:14 +0100 Subject: refactor SPIEnum: more type safety fixes ungrouping of "font-weight:bolder" fixes "titling-caps" parsing fixes a casting error in CairoRenderContext::renderGlyphtext --- src/object/sp-text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object/sp-text.cpp') 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; -- cgit v1.2.3