diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-09-16 17:36:12 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2019-09-16 17:36:12 +0000 |
| commit | 24b3b2183082d22415c8cb4d4fcf36726d3060c5 (patch) | |
| tree | 71fcd56289c209c6adf1e665039cf4798dc460eb /src/ui | |
| parent | Realy fix crash pasting and speed improvements (diff) | |
| download | inkscape-24b3b2183082d22415c8cb4d4fcf36726d3060c5.tar.gz inkscape-24b3b2183082d22415c8cb4d4fcf36726d3060c5.zip | |
Active SVG2 Flow Text by default
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 2 | ||||
| -rw-r--r-- | src/ui/tools/text-tool.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 0b2ce78b1..52cec9538 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -478,7 +478,7 @@ void InkscapePreferences::initPageTools() _page_text.add_line( false, "", _font_dialog, "", _("Show font substitution warning dialog when requested fonts are not available on the system")); cb = Gtk::manage(new PrefCheckButton); - cb->init ( _("Use SVG2 auto-flowed text"), "/tools/text/use_svg2", false); + cb->init ( _("Use SVG2 auto-flowed text"), "/tools/text/use_svg2", true); _page_text.add_line( false, "", *cb, "", _("Use SVG2 auto-flowed text instead of SVG1.2 auto-flowed text. (Recommended)")); } diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp index 333999b9f..7434d598f 100644 --- a/src/ui/tools/text-tool.cpp +++ b/src/ui/tools/text-tool.cpp @@ -653,7 +653,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 (prefs->getBool("/tools/text/use_svg2")) { + if (prefs->getBool("/tools/text/use_svg2", true)) { // SVG 2 text SPItem *text = create_text_with_rectangle (desktop, this->p0, p1); |
