[magick-users] montage -label not working

Dado Feigenblatt dado at wildbrain.com
Mon Apr 30 10:32:49 PDT 2007


Anthony Thyssen wrote:
> Dado Feigenblatt on  wrote...
> | short story:
> | montage -label %f input.png output.png
> | works on old system but not on newer one. I get no label.
> | 
> | long story:
> | I have some very old scripts running on Red Hat 7.2 (yes, RH7.2) using 
> | montage version 5.4.7.
> | That is still working great for my needs, but I need to upgrade the 
> | system to FC4 or later.
> | While testing on an existing FC4 box with ImageMagick 6.2.2, I can't get 
> | -label to work.
> | I've tried playing with colors and fonts to no avail.
> | I used fonts listed by "xlsfonts" and then fonts listed by "convert 
> | -list type"
> | 
> | I tried the examples on http://www.imagemagick.org/Usage/text/
> | 
> | |convert -background lightblue -fill blue -font Candice -pointsize 72 label:Anthony label.gif
> | |
> | 
> | That complained about missing image label.gif
> | I've created label.gif and it still complained.
> | I've added an extra argument as the output image and all the command did 
> | (apparently) was to copy input to output.
> | 
> | Any idea what could be wrong?
> | 
> You probably have no fonts!
>
> Try   convert -list type
> to see the current font list.
>
> Also see the top level page of IM examples which has some font finding
> information (and script).
>
>
>   Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
>  -----------------------------------------------------------------------------
>   Disclaimer:  Any lapses in spelling, tact, or fact are transmission errors.
>  -----------------------------------------------------------------------------
>      Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
> _______________________________________________
> Magick-users mailing list
> Magick-users at imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>   
Hi Anthony, thanks for the reply.
Yes, I had no fonts. But all the ImageMagick messages were very misleading.
As I said, I had already used 'convert -list type' and it listed a bunch 
of fonts.
I had also tried the examples on the site and all I've got were error 
messages about missing images.
When I fixed the font problem, those errors disappeared.
And the problem was that I have a true type config file, but the 
directory it points to is empty.
How it ended up this way I don't know, I didn't build this machine.
So 'convert -list type' doesn't really check for fonts.
It just parses the content of the config file and makes you believe your 
fonts are alright.
All very misleading.
Someone should have a look at that and the misleading "missing image" 
errors someday.

Thanks
Dado Feigenblatt.


More information about the Magick-users mailing list