equal
deleted
inserted
replaced
426 def GetSVGGeometry(self): |
426 def GetSVGGeometry(self): |
427 self.ProgressStart("inkscape", "collecting SVG geometry (Inkscape)") |
427 self.ProgressStart("inkscape", "collecting SVG geometry (Inkscape)") |
428 # invoke inskscape -S, csv-parse output, produce elements |
428 # invoke inskscape -S, csv-parse output, produce elements |
429 InkscapeGeomColumns = ["Id", "x", "y", "w", "h"] |
429 InkscapeGeomColumns = ["Id", "x", "y", "w", "h"] |
430 |
430 |
431 inkpath = get_inkscape_path() |
431 inkpath = get_inkscape_path().decode() |
432 if inkpath is None: |
432 if inkpath is None: |
433 self.FatalError("SVGHMI: inkscape is not installed.") |
433 self.FatalError("SVGHMI: inkscape is not installed.") |
434 |
434 |
435 svgpath = self._getSVGpath() |
435 svgpath = self._getSVGpath() |
436 status, result, _err_result = ProcessLogger(self.GetCTRoot().logger, |
436 status, result, _err_result = ProcessLogger(self.GetCTRoot().logger, |