From: daid303 Date: Thu, 4 Apr 2013 12:34:46 +0000 (+0200) Subject: Fuck the stupid skeinforge ascii problems. X-Git-Tag: 13.05~64^2~11 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1505743fe179920957b5596424a86907fb7e8854;p=cura.git Fuck the stupid skeinforge ascii problems. --- diff --git a/Cura/slice/cura_sf/fabmetheus_utilities/svg_writer.py b/Cura/slice/cura_sf/fabmetheus_utilities/svg_writer.py index eda04699..df2baf9b 100644 --- a/Cura/slice/cura_sf/fabmetheus_utilities/svg_writer.py +++ b/Cura/slice/cura_sf/fabmetheus_utilities/svg_writer.py @@ -196,7 +196,7 @@ class SVGWriter(object): self.setMetadataNoscriptElement('minZ', 'Z: ', self.cornerMinimum.z) self.textHeight = float( self.sliceDictionary['textHeight'] ) controlTop = len(loopLayers) * (self.margin + self.extent.y * self.unitScale + self.textHeight) + self.marginTop + self.textHeight - self.svgElement.getFirstChildByLocalName('title').setTextContent(os.path.basename(fileName).decode("utf-8").encode('ascii', 'replace') + ' - Slice Layers') + self.svgElement.getFirstChildByLocalName('title').setTextContent('Slice Layers') svgElementDictionary['height'] = '%spx' % self.getRounded(max(controlTop, self.controlBoxHeightMargin)) width = max(self.extent.x * self.unitScale, svgMinWidth) svgElementDictionary['width'] = '%spx' % self.getRounded( width )