=== modified file 'src/preferences-skeleton.h' --- src/preferences-skeleton.h 2016-03-14 17:19:58 +0000 +++ src/preferences-skeleton.h 2016-03-31 11:54:20 +0000 @@ -311,6 +311,7 @@ " \n" " \n" " \n" +" \n" // NOTE: added " \n" " \n" " \n" === modified file 'src/sp-offset.cpp' --- src/sp-offset.cpp 2016-03-24 18:04:10 +0000 +++ src/sp-offset.cpp 2016-03-31 12:33:19 +0000 @@ -85,7 +85,9 @@ // reappearing in offset when the radius becomes too large //TODO: need fix for bug: #384688 with fix released in r.14156 //but reverted because bug #1507049 seems has more priority. -static bool use_slow_but_correct_offset_method = false; +// static bool use_slow_but_correct_offset_method = false; // NOTE: removed +// NOTE: this is now: prefs->getBool("/options/use_slow_but_correct_offset_method/value", true); // NOTE: added + // the default is set in preferences-skeleton.h SPOffset::SPOffset() : SPShape() { this->rad = 1.0; @@ -379,6 +381,9 @@ Path *orig = new Path; orig->Copy ((Path *)this->originalPath); + + Inkscape::Preferences *prefs = Inkscape::Preferences::get();// NOTE added + bool use_slow_but_correct_offset_method = prefs->getBool("/options/use_slow_but_correct_offset_method/value", true); // NOTE: added if ( use_slow_but_correct_offset_method == false ) { // version par outline === modified file 'src/ui/dialog/inkscape-preferences.cpp' --- src/ui/dialog/inkscape-preferences.cpp 2016-03-02 19:44:36 +0000 +++ src/ui/dialog/inkscape-preferences.cpp 2016-03-31 11:50:05 +0000 @@ -1478,6 +1478,14 @@ _("Lower quality (some artifacts), but display is faster")); _page_rendering.add_line( true, "", _filter_quality_worst, "", _("Lowest quality (considerable artifacts), but display is fastest")); + +// NOTE: added + _use_slow_but_correct_offset_method.init( _("Use slow but correct offset method (fix linked offset text artifacts)"), "/options/use_slow_but_correct_offset_method/value", true); + + _page_rendering.add_group_header( _("Offset method")); + _page_rendering.add_line( true, "", _use_slow_but_correct_offset_method, "", + _("Select this if you have artifacts appearing in linked offsets of text and want to get rid of them.")); +// NOTE: added end this->AddPage(_page_rendering, _("Rendering"), PREFS_PAGE_RENDERING); } === modified file 'src/ui/dialog/inkscape-preferences.h' --- src/ui/dialog/inkscape-preferences.h 2016-03-02 19:44:36 +0000 +++ src/ui/dialog/inkscape-preferences.h 2016-03-31 11:41:30 +0000 @@ -297,6 +297,7 @@ UI::Widget::PrefRadioButton _filter_quality_normal; UI::Widget::PrefRadioButton _filter_quality_worse; UI::Widget::PrefRadioButton _filter_quality_worst; + UI::Widget::PrefCheckButton _use_slow_but_correct_offset_method; // NOTE: added UI::Widget::PrefCheckButton _show_filters_info_box; UI::Widget::PrefCombo _dockbar_style; UI::Widget::PrefCombo _switcher_style;