If I run the following:
gm montage -label 'Foo Bar Baz' -font "Nimbus-Roman-No9-L" -pointsize 16 rose: foo.png
the label is not rendered in the given font.
While
montage -label 'Foo Bar Baz' -font "Nimbus-Roman-No9-L" -pointsize 16 rose: foo.png
works as expected.
I'm running GraphicsMagick 1.3.18 on Arch Linux.
(ImageMagick's output.)
Seems to work when specifying a font file (via
@) though.GraphicsMagick does not yet use fontlib so it won't know about formal system fonts unless you add entries to the type.mgk system or specify the path to a font file.
Until such time as we add support for libfontconfig, please make sure that the font you want to use shows up in the output of 'gm convert -list type' or pass the font file path directly as an argument. The fonts automatically known to GraphicsMagick currently are known via "type.mgk" files which provide a mapping between font names and font files.