Menu

#238 Font Option is Ignored

v1.0_(example)
closed-rejected
None
5
2014-01-05
2013-06-25
baskerville
No

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.

1 Attachments

Discussion

  • baskerville

    baskerville - 2013-06-25

    (ImageMagick's output.)

     
  • baskerville

    baskerville - 2013-06-25

    Seems to work when specifying a font file (via @) though.

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2013-08-10

    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.

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2014-01-05
    • status: open --> closed-rejected
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2014-01-05

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB