unable to export text in wmf

Bug #663945 reported by Pierre Muckensturm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

Aloha,
I've used to export symbol I create into wmf files (enhanced metafiles with wmf extension). But in 0.47, I can't. I draw my symbol, with text, I save as with emf type, put a name like "test.wmf", and then validate. But the file is test.emf.
If I choose wmf type, I got an error which crash the saving process :

UniConvertor failed:
I can't find font Arial Narrow. I'll use Slim instead
I can't find font Slim. I'll use Slim instead
Traceback (most recent call last):
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/svgloader.py", line 979, in Load
    xml_reader.parse(input_source)
  File "C:\Program Files\Inkscape\python\Lib\xml\sax\expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "C:\Program Files\Inkscape\python\Lib\xml\sax\xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "C:\Program Files\Inkscape\python\Lib\xml\sax\expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "C:\Program Files\Inkscape\python\Lib\xml\sax\expatreader.py", line 301, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "C:\Program Files\Inkscape\python\lib\site-packages\uniconvertor\app/plugins/Filters/svgloader.py", line 338, in startElement
    ge

Does anyone have a clue ? Does this bug have been reported ? Fixed ?

Thanks in advance

su_v (suv-lp)
tags: added: exporting uniconvertor wmf
Revision history for this message
su_v (suv-lp) wrote :

- Which Windows version do you use?
- Could you attach the SVG file used for your test?
- Does the error when exporting to WMF still occur after upgrading to the current release version Inkscape 0.48?

(Note: Inkscape 0.48 on Windows includes an updated version of UniConvertor (1.1.5) which is used for WMF, PLT and sK1 exports)

Revision history for this message
su_v (suv-lp) wrote :

Same issue as
Bug #430432 “Crash when Save As filetype WMF”:
<https://bugs.launchpad.net/inkscape/+bug/430432>

According to comment #9 in
Bug #516178 “Python.exe hangs on creating .wmf files”:
<https://bugs.launchpad.net/inkscape/+bug/516178>
the text issue (UniConvertor fails to handle text objects) is solved in the current version of UniConvertor (1.1.5) which ships with Inkscape 0.48.

Revision history for this message
Pierre Muckensturm (pierre-muckensturm) wrote :

Indeed, the 0.48 solve the problem.

The bug could be considered as closed.
Thanks for your help.

su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.48
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.