IM 6.2.7-7: "convert -font fixed ..." bug

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

To specify X11 fonts you must use the well-formed name, for example:
  • convert -font -misc-fixed-medium-r-normal--6-60-75-75-c-40-iso8859-7 ...
You can specify wildcards :
  • convert -font -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1 ...
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

You can use the on disk fonts if your version of ImageMagick includes support for the Freetype delegate library. Type
  • identify -list format
and check for the TTF format. It should have a mode of 'r' and mention the Freetype version. If so, you can use -font followed by the absolute path of the font file on disk. You can of course use any font by its handle listed with this command:
  • identify -list type
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

fontconfig support is in the latest versions of ImageMagick. Grab the current release,
ImageMagick 6.2.7-8.
Post Reply