Thread subject: sK1 Project :: crash converting svg to wmf

Posted by alvinpenner on 20-05-2009 22:16
#1

using uniconv 1.1.3, Windows XP, when I convert the attached svg file to wmf I get a crash where the last few lines are:

File "C:\Python25\lib\site-packages\uniconvertor\app\Graphics\compound.py", li
ne 174, in update_rects
boxes = map(lambda o: o.coord_rect, self.objects)
File "C:\Python25\lib\site-packages\uniconvertor\app\Graphics\compound.py", li
ne 174, in <lambda>
boxes = map(lambda o: o.coord_rect, self.objects)
File "C:\Python25\lib\site-packages\uniconvertor\app\Graphics\base.py", line 3
52, in __getattr__
getattr(self, method)()
File "C:\Python25\lib\site-packages\uniconvertor\app\Graphics\text.py", line 4
92, in update_rects
rect = apply(Rect, a.font.TextBoundingBox(self.text, a.font_size, a))
AttributeError: 'NoneType' object has no attribute 'TextBoundingBox'

Posted by max on 21-05-2009 11:53
#2

Hi,

Thank you for reported issue.

The problem is due to incomplete SVG parser implementation.
tspan tag is not parsed correctly.

http://www.w3.org...panElement.

I hope we will fix this issue in nearest future.

Edited by max on 22-05-2009 21:08

Posted by alvinpenner on 22-05-2009 22:18
#3

thanks, and thank you for an excellent convertor !