Package: python-uniconvertor
Version: 1.1.3-2
Severity: normal

When I try and run uniconvertor I get the following error messages:

I can't find font Humnst777 BT. I'll use Slim instead
I can't find font Slim. I'll use Slim instead
Traceback (most recent call last):
...
  File 
"/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/svgloader.py",
 line 338, in startElement
    getattr(self, method)(attrs)
  File 
"/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/svgloader.py",
 line 904, in begin_text
    self.parse_style(style)
  File 
"/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/svgloader.py",
 line 384, in parse_style
    self.try_add_style(key, val)
  File 
"/usr/lib/python2.5/site-packages/uniconvertor/app/plugins/Filters/svgloader.py",
 line 422, in try_add_style
    self.style.font = GetFont(str(val))
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/Graphics/font.py", 
line 425, in GetFont
    return GetFont(config.preferences.fallback_font)
  File "/usr/lib/python2.5/site-packages/uniconvertor/app/Graphics/font.py", 
line 426, in GetFont
    raise ValueError, 'Cannot find font %s.' % fontname
ValueError: Cannot find font Slim.

This is bad from two points.  Firstly, it didn't find the font, which presumably
means it is not looking in ~/.fonts - the standard place that non-root users 
have
to install fonts.

What is worse though, is that it is falling back to a non-existent font.

Furthermore, the manpage gives no information on how one might be able to 
configure
an existing font as the fallback, or add other directories to it's font search 
path,
even though the error messages about config.preferences.fallback_font and so 
forth
suggest that this might be possible.

Thanks,
Andrew McMillan.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-rc2-happy (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_NZ.UTF8, LC_CTYPE=POSIX (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-uniconvertor depends on:
ii  libc6                         2.7-15     GNU C Library: Shared libraries
ii  python                        2.5.2-2    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt
ii  python-imaging                1.1.6-3    Python Imaging Library
ii  python-reportlab              2.2-2      ReportLab library to create PDF do

python-uniconvertor recommends no packages.

Versions of packages python-uniconvertor suggests:
pn  python-uniconvertor-dbg       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to