Bug#665798: python-mapnik2: Please correct fonts path

Sylvain Collilieux Sylvain at Collilieux.net
Mon Mar 26 08:56:04 UTC 2012


Package: python-mapnik2
Version: 2.0.0+ds1-3+b1
Severity: normal
Tags: patch

Dear Maintainer,

Fonts path is fixed to ttf-dejavu, so you can't use any other fonts.

Please correct fontscollectionpath in file
/usr/lib/python2.7/dist-packages/mapnik2/paths.py. Replace

fontscollectionpath = os.path.normpath('/usr/share/fonts/truetype/ttf-dejavu')
by
fontscollectionpath = os.path.normpath('/usr/share/fonts')

Regards


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-mapnik2 depends on:
ii  libboost-python1.46.1  1.46.1-8
ii  libc6                  2.13-27
ii  libgcc1                1:4.7.0-1
ii  libjpeg8               8d-1
ii  libmapnik2-2.0         2.0.0+ds1-3+b1
ii  libpng12-0             1.2.47-1
ii  libstdc++6             4.7.0-1
ii  python                 2.7.2-10
ii  python-cairo           1.8.8-1+b2
ii  python2.6              2.6.7-4
ii  python2.7              2.7.3~rc2-1

python-mapnik2 recommends no packages.

python-mapnik2 suggests no packages.

-- no debconf information





More information about the Pkg-grass-devel mailing list