[Python-modules-team] Bug#805473: text.Text misses some unspecified font

Enrico Zini enrico at debian.org
Wed Nov 18 14:41:51 UTC 2015


Package: python-fabulous
Version: 0.1.5+dfsg1-1
Severity: normal

Hello,

thank you for packaging fabulous.

I was trying out its examples from https://pypi.python.org/pypi/fabulous
and I got an exception mentioning some unspecified font:

  $ python
  Python 2.7.10+ (default, Oct 10 2015, 09:11:24) 
  [GCC 5.2.1 20151028] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from fabulous import text
  >>> print text.Text("Fabulous", color='#0099ff', shadow=True)
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python2.7/dist-packages/fabulous/text.py", line 105, in __init__
      self.font = ImageFont.truetype(resolve_font(font), fsize)
    File "/usr/lib/python2.7/dist-packages/fabulous/text.py", line 162, in resolve_font
      raise FontNotFound("Can't find %r :'(  Try adding it to ~/.fonts")
  fabulous.text.FontNotFound: Can't find %r :'(  Try adding it to ~/.fonts

I kind of stopped at this point.

Thank you,

Enrico

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-fabulous depends on:
ii  libc6              2.19-22
ii  python             2.7.9-1
ii  python-grapefruit  0.1~a3+dfsg-1

python-fabulous recommends no packages.

python-fabulous suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list