[go: up one dir, main page]

Dxf import regression in version 1.0 beta 1

Importing a dxf I cannot share, I get an error in version 1.0 beta 1. It works in previous versions.

Traceback (most recent call last):
File "dxf_input.py", line 627, in <module>
  DxfInput().run()
File "[...]\inkscape\share\inkscape\extensions\inkex\base.py", line 111, in run
  self.save_raw(self.effect())
File "dxf_input.py", line 616, in effect
  entities[entity]()
File "dxf_input.py", line 62, in export_MTEXT
  attribs = {'x': '%f' % x, 'y': '%f' % y, 'style': 'font-size: %.1fpx; fill: %s; font-family: %s' % (size, color, options.font)}
NameError: name 'color' is not defined
Edited by Ignazio Di Napoli