Package: python3-pgmagick
Version: 0.7.6-1+b5
Severity: normal
X-Debbugs-Cc: j.jum...@gmail.com

Dear Maintainer,

The default font for pgmagick is not installed in bookworm, it is in
bullseye. This short program shows the issue.

import pgmagick

geo = pgmagick.Geometry(600, 600)
red = pgmagick.Color('red')
img = pgmagick.Image(geo, red)

img.fillColor('black')
img.annotate('This is a test', '+5+10')
img.write('test.png')

On bookworm this produces:

Traceback (most recent call last):
  File "//test.py", line 8, in <module>
    img.annotate('This is a test', '+5+10')
RuntimeError: Magick: Unable to read font 
(/usr/share/fonts/type1/gsfonts/n019003l.pfb) reported by 
magick/annotate.c:1174 (RenderFreetype)

If you use one of the installed fonts with the font method this call
works.

Thanks

Justin

-- System Information:
Debian Release: 12.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-89-generic (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages python3-pgmagick depends on:
ii  libboost-python1.74.0 [libboost-python1.74.0-py311]  1.74.0+ds1-21
ii  libc6                                                2.36-9+deb12u3
ii  libgcc-s1                                            12.2.0-14
ii  libgraphicsmagick++-q16-12                           1.4+really1.3.40-4
ii  libstdc++6                                           12.2.0-14
ii  python3                                              3.11.2-1+b1

python3-pgmagick recommends no packages.

python3-pgmagick suggests no packages.

-- no debconf information

Reply via email to