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