From 88ae1527b622cac522d93203f2b24d26b36606da Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Fri, 26 Apr 2013 15:47:00 -0400 Subject: modify bbox width for Blur filter in Fill & Stroke (Bug 1171208) Fixed bugs: - https://launchpad.net/bugs/1171208 (bzr r12305) --- src/filter-chemistry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filter-chemistry.cpp') diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp index 14bd00057..be030e12f 100644 --- a/src/filter-chemistry.cpp +++ b/src/filter-chemistry.cpp @@ -70,7 +70,7 @@ static void set_filter_area(Inkscape::XML::Node *repr, gdouble radius, double rx = radius * (expansionY != 0 ? (expansion / expansionY) : 1); double ry = radius * (expansionX != 0 ? (expansion / expansionX) : 1); - if (width != 0 && height != 0 && (2.4 * rx > width * 0.1 || 2.4 * ry > height * 0.1)) { + if (width != 0 && height != 0) { // If not within the default 10% margin (see // http://www.w3.org/TR/SVG11/filters.html#FilterEffectsRegion), specify margins // The 2.4 is an empirical coefficient: at that distance the cutoff is practically invisible -- cgit v1.2.3