diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-12-19 09:06:49 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-12-19 09:06:49 +0000 |
| commit | 851a26beaa5506e5b44106d9ec0dd1a2285c38ff (patch) | |
| tree | c82352d8e47d2d52f5e19251a193564e653ebb5a /src/ui/tools/text-tool.cpp | |
| parent | Convert preferences_skeleton to a C++11 raw string. (diff) | |
| download | inkscape-851a26beaa5506e5b44106d9ec0dd1a2285c38ff.tar.gz inkscape-851a26beaa5506e5b44106d9ec0dd1a2285c38ff.zip | |
Add preference for using SVG 2 text in a shape (GUI to come).
Diffstat (limited to 'src/ui/tools/text-tool.cpp')
| -rw-r--r-- | src/ui/tools/text-tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
