* * Move pyopen with encoding to utils. and modify all importing library to use pyopen with encoding. with this change, DXF OCA AirfoilDAT with multibyte sequence always read as utf-8. * Fix SVG transform attribute is not handler collectly.
This commit is contained in:
@@ -1616,7 +1616,7 @@ class svgHandler(xml.sax.ContentHandler):
|
||||
_transf = _op + '\\s*?' + _val
|
||||
transformre = re.compile(_transf, re.DOTALL)
|
||||
m = FreeCAD.Matrix()
|
||||
for transformation, arguments in transformre.findall(tr):
|
||||
for transformation, arguments in reversed(transformre.findall(tr)):
|
||||
_args_rep = arguments.replace(',', ' ').split()
|
||||
argsplit = [float(arg) for arg in _args_rep]
|
||||
# m.multiply(FreeCAD.Matrix(1, 0, 0, 0, 0, -1))
|
||||
|
||||
Reference in New Issue
Block a user