From d57bd9d59ef9cf4386e629a5e575df4321117a1b Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Tue, 22 Oct 2019 19:21:22 +0200 Subject: Properly calculate line height for flowDiv Fixes https://gitlab.com/inkscape/inkscape/issues/244 --- src/object/sp-flowtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object/sp-flowtext.cpp') diff --git a/src/object/sp-flowtext.cpp b/src/object/sp-flowtext.cpp index a488e208b..f18070ad3 100644 --- a/src/object/sp-flowtext.cpp +++ b/src/object/sp-flowtext.cpp @@ -336,7 +336,7 @@ void SPFlowtext::_buildLayoutInput(SPObject *root, Shape const *exclusion_shape, Inkscape::Text::Layout::OptionalTextTagAttrs pi; bool with_indent = false; - if (dynamic_cast(root)) { + if (dynamic_cast(root) || dynamic_cast(root)) { layout.wrap_mode = Inkscape::Text::Layout::WRAP_SHAPE_INSIDE; -- cgit v1.2.3