Thread subject: sK1 Project :: Translate to HPGL dies with 'Slim' missing

Posted by andycowley on 04-02-2011 18:28
#1

Platform: 2.6.34.7-61.fc13.x86_64
Software: Inkscape 0.47 r22583 (Jan 20 2010)
I can't get Uniconvertor to give me a version number.

I have tried to convert from SVG, PS and AI file to HPGL both with Uniconvertor and Inkscape.

Uniconvertor gives
uniconvertor 0-12-270deg-scale.svg test02.plt
/usr/lib64/python2.6/site-packages/uniconvertor/app/utils/locale_utils.py:9: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
from popen2 import popen2
I can't find font 'MyriadPro-BoldCond'. I'll use Slim instead
I can't find font Slim. I'll use Slim instead
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/plugins/Filters/svgloader.py", line 980, in Load
xml_reader.parse(input_source)
File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 311, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/plugins/Filters/svgloader.py", line 338, in startElement
getattr(self, method)(attrs)
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/plugins/Filters/svgloader.py", line 890, in begin_text
self.try_add_style(key,value)
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/plugins/Filters/svgloader.py", line 422, in try_add_style
self.style.font = GetFont(str(val))
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/Graphics/font.py", line 425, in GetFont
return GetFont(config.preferences.fallback_font)
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/Graphics/font.py", line 426, in GetFont
raise ValueError, 'Cannot find font %s.' % fontname
ValueError: Cannot find font Slim.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python2.6/site-packages/uniconvertor/__init__.py", line 82, in uniconv
doc = load.load_drawing(input_file)
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/io/load.py", line 364, in load_drawing
return load_drawing_from_file(file, filename)
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/io/load.py", line 337, in load_drawing_from_file
doc = loader.Load()
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/plugins/Filters/svgloader.py", line 980, in Load
xml_reader.parse(input_source)
File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 311, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/plugins/Filters/svgloader.py", line 338, in startElement
getattr(self, method)(attrs)
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/plugins/Filters/svgloader.py", line 890, in begin_text
self.try_add_style(key,value)
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/plugins/Filters/svgloader.py", line 422, in try_add_style
self.style.font = GetFont(str(val))
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/Graphics/font.py", line 425, in GetFont
return GetFont(config.preferences.fallback_font)
File "/usr/lib64/python2.6/site-packages/uniconvertor/app/Graphics/font.py", line 426, in GetFont
raise ValueError, 'Cannot find font %s.' % fontname
ValueError: Cannot find font Slim.


Inkscape gives the same.

SVG attached.