summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c19059)
raw | patch | inline | side by side (parent: 6c19059)
author | alvinpenner <alvinpenner@users.sourceforge.net> | |
Fri, 24 Apr 2009 21:58:09 +0000 (21:58 +0000) | ||
committer | alvinpenner <alvinpenner@users.sourceforge.net> | |
Fri, 24 Apr 2009 21:58:09 +0000 (21:58 +0000) |
share/extensions/dxf_input.py | patch | blob | history |
index c44cb78eed2618c3e45840d73ef3b62d1f329344..6ae5e625533d3e432e5f44696007a56202052069 100644 (file)
scale = 210.0/(xmax - xmin) # scale to A4 width
else:
scale = float(options.scale) # manual scale factor
-desc.text = '%s - scale = %f' % (args[0], scale)
+desc.text = '%s - scale = %f' % (unicode(args[0], "iso-8859-1"), scale)
scale *= 90.0/25.4 # convert from mm to pixels
for linename in linetypes.keys(): # scale the dashed lines