diff --git a/backend/jobimport/svg_path_reader.py b/backend/jobimport/svg_path_reader.py index 3342d18..5eaa970 100644 --- a/backend/jobimport/svg_path_reader.py +++ b/backend/jobimport/svg_path_reader.py @@ -377,6 +377,7 @@ def addArc(self, subpath, x1, y1, rx, ry, phi, large_arc, sweep, x2, y2): # plus some recursive sugar for incrementally refining the # arc resolution until the requested tolerance is met. # http://www.w3.org/TR/SVG/implnote.html#ArcImplementationNotes + phi = phi / 360.0 * 2*math.pi cp = math.cos(phi) sp = math.sin(phi) dx = 0.5 * (x1 - x2)