sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
crash converting svg to wmf
alvinpenner
#1 Print Post
Posted on 20-05-2009 22:16
Member

Posts: 3
Joined: 20.05.09

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'
alvinpenner attached the following file:
grenzkurven.zip
 
max
#2 Print Post
Posted on 21-05-2009 11:53
Administrator

Posts: 63
Joined: 09.05.09

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.
Regards,

Maxim Barabash
sK1 Project
Edited by max on 22-05-2009 21:08
 
alvinpenner
#3 Print Post
Posted on 22-05-2009 22:18
Member

Posts: 3
Joined: 20.05.09

thanks, and thank you for an excellent convertor !
 
Jump to Forum: