From 851a26beaa5506e5b44106d9ec0dd1a2285c38ff Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Wed, 19 Dec 2018 10:06:49 +0100 Subject: Add preference for using SVG 2 text in a shape (GUI to come). --- src/ui/tools/text-tool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/tools/text-tool.cpp') diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp index 4bdf5e5ba..4de0dc81f 100644 --- a/src/ui/tools/text-tool.cpp +++ b/src/ui/tools/text-tool.cpp @@ -652,7 +652,7 @@ bool TextTool::root_handler(GdkEvent* event) { if (fabs(p1[Geom::Y] - this->p0[Geom::Y]) > cursor_height) { // otherwise even one line won't fit; most probably a slip of hand (even if bigger than tolerance) - if (false) { + if (prefs->getBool("/tools/text/use_svg2")) { // SVG 2 text SPItem *text = create_text_with_rectangle (desktop, this->p0, p1); -- cgit v1.2.3