diff --git a/include/mapnik/svg/svg_path_adapter.hpp b/include/mapnik/svg/svg_path_adapter.hpp index a05277460..10ccb25f2 100644 --- a/include/mapnik/svg/svg_path_adapter.hpp +++ b/include/mapnik/svg/svg_path_adapter.hpp @@ -382,10 +382,12 @@ void path_adapter::arc_to(double rx, { join_path(a); } - else - { - line_to(x, y); - } + + // We are adding an explicit line_to, even if we've already add the + // bezier arc to the current path. This is to prevent subsequent smooth + // bezier curves from accidentally assuming that the previous command + // was a bezier curve as well when calculating reflection points. + line_to(x, y); } else {