I've been searching the forum for a couple of days, in an effort to find
some way to get ImageMagick to create a "font sheet". That is; create
a montage of all the fonts installed on my system. Sending:
Code: Select all
convert -list font
But doesn't print a sample of the fonts.
I looked at:
http://www.rubblewebs.co.uk./imagemagic ... _f_23.html
But, while it seems to work for RubbleWebs, it (as posted) can not work for anyone else.

The problem with the script is (at least) two fold;
line 3:
Code: Select all
preg_match(/^LIB_VERSION_NUMBER ([0-9,]+)$/m, shell_exec("convert -list configure "), $vnums);
Code: Select all
/^LIB_VERSION_NUMBER ([0-9,]+)$/m
Code: Select all
'/^LIB_VERSION_NUMBER ([0-9,]+)$/m'
Code: Select all
$FirstPart = explode( , $NoPath[$i]);
because in many cases it is faster. The problem with all this is that both
methods require a delimiter. But I don't know which one RubbleWebs intended
to use - it should probably also be quoted - eg;
Code: Select all
$FirstPart = explode( "<some-delimiter>", $NoPath[$i]);
Code: Select all
$FirstPart = explode( '<some-delimiter>', $NoPath[$i]);
Anyway, if anyone knows how to fix this, or has found a way to get IM to
create a font sheet. I'd really appreciate a pointer.

Thank you for all your time and consideration.
--Chuck