Arturo Martin Romero on  wrote...
| Hello=2E=A0 I am Arturo=2C a teacher from Spain=2E I have a problem with=
|  ImageMagick when I try to edit Label with Text=2E=A0 ImageMagick don=27=
| t find my types of fonts=2E=A0 The message that appear in my screen is t=
| his=2C for example=2C if the font is Wacko=3A
| 
| convert=3A unable to read font =60Wacko=27
| 
| Please=2C I need help=2E=A0 Thank you very much for the answer=2E
| 
Sorry no one seems to have replied to you request, and I have been on
vacation in China.

Are you using IM on a Windows or UNIX machine?

For it to find the font 'Wacko' IM needs to find the font file.

The simpliest way is to just specify the 'TTF' filename rather that the
font name  For example

   convert ...  -font '/Path/to/file/Wacko.ttf'  ...

When it cant find a the font as a file name IM does try to look in
a special data file  'type.xml' to vonvert the name given to an actual
font file.  For LINUX and MAC systems I wrote a program to search the
computer for all TTF fonts, and create such as file. The details of this
in on the top page of the ImageMagick Examples
   http://imagemagick.org/Usage/#fonts

For Windows, I have seen very little detail on what needs to be done to
add new fonts to IM. However the full process on how IM locates and
finds fonts for various machines is given on the IM Resources page
on the main IM web site...
   http://imagemagick.org/script/resources.php#fonts

Though that appears to be mostly UNIX centric.  I have re-sumerised this
on my older raw notes on ImageMagick, though have not merged this into
the main IM Examples site...
   http://www.cit.gu.edu.au/~anthony/info/graphics/imagemagick.hints

Scroll down to... Configuration...

=======8<--------
Where <prefix> is the compile time installation prefix.
The precompiled binary distribution, or non system install using the
--disable-installed prefix, replaces <prefix> with the $MAGICK_HOME

Under Windows
   $MAGICK_CONFIGURE_PATH
   <windows registry>
   <prefix>/config
   <client_path>
   <current_directory>

Typically all the ".xml" files are read in the first time that specific
resource is needed, in the above sequence.  After that the first reference to
the desired configuarion item is what is used.

=======8<--------

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
        Windows is a 32 bit patch to a 16 bit GUI based on a 8 bit
        operating system written for a 4 bit processor by a 2 bit
        company which can not stand 1 bit of competition.
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to