MagickStudio - error
We do not include fonts with the distribution because many fonts have copyright restrictions. You can add whatever fonts you have in the fonts directory and be sure to update the type.xml configuration file. If you have no fonts you can try changing the default font in the script from Arial to Helvetica.
Re:
magick wrote: We do not include fonts with the distribution because many fonts have copyright restrictions. You can add whatever fonts you have in the fonts directory and be sure to update the type.xml configuration file. If you have no fonts you can try changing the default font in the script from Arial to Helvetica.
Greetings,
I'm experiencing the same problem. Unlike the original poster, I'm running
it on one of our own servers and I have some 1.5 meg of TrueType
fonts in the /MagickStudio/fonts directory - arial in included . But
inspite of it I recieve the same message. The fonts directory id owned by
the owner/group the web server runs under, and all fonts under the directory
are owned by the group the web server runs under and readable by all.
I have no idea where to find the type.xml file you
mention, as it didn't come in the MagickStudio archive. But I have tried
every incarnation I can think of for MagickStudio.cgi and MagickStudio.pm.
Those attempted follow:
As supplied in it's default and currently accurate form
Code: Select all
$ENV{MAGICK_FONT_PATH}=$DocumentRoot . $DocumentDirectory . "/fonts";
Code: Select all
$ENV{MAGICK_FONT_PATH}=$DocumentRoot . $DocumentDirectory . "/fonts/";
(from MagickStudio.pm)
Code: Select all
our $DefaultFont = "arial";
Hmm... That didn't work either. Maybe hanging the ttf extension on it:
Code: Select all
our $DefaultFont = "arial.ttf";
OK. How 'bout using an absolute path in MagickStudio.cgi:
Code: Select all
$ENV{MAGICK_FONT_PATH}='/absolute/path/to/MagickStudio/fonts';
One last try. Let's try hanging a slash off the end of the fonts dir:
Code: Select all
$ENV{MAGICK_FONT_PATH}='/absolute/path/to/MagickStudio/fonts/';
planned but not yet available yet... or is it?
Thank you for all your time and consideration in this matter.
--Chris
P.S. I am running this on a UNIX (BSD) box. It is the most recent version
of everything and includes ImageMagick with every option/ extension available,
including perlmagick. ImageMagick itself works flawlessly, as does the
Apache server MagickStudio is running on.
Thanks again.
Re: MagickStudio - error
Grab MagickStudio 1.9.1 tommorrow. We added a script in the fonts directory that will generate a proper type.xml font configuration file.
Re: MagickStudio - error
magick wrote: Grab MagickStudio 1.9.1 tommorrow. We added a script in the fonts directory that will generate a proper type.xml font configuration file.
WOOHOO!
That's excellent news.
Thank you very much for such a fast and helpful reply!
Best wishes to you.
Chris out...