Hello all,

First time on an ImageMagick mailing list and this is a long story so please
bear with me ;-P

I'm working on a mostly perl project that uses Image::Magick for its image
manipulation needs.  I was brought on to this project to replace the last
developer so I am not privy to all that I should know.  Again, please bear
with me...

There is code setup to apply text with the Futura LT Bold TrueType font.
This was all done using the MAGICK_CONFIGURE_PATH env var, a type.xml file
describing the font, along with the actual font and a corresponding afm file
for the font.  I'm not sure of where the font originally came from but the
afm was create using ttf2afm.  All in all the font worked and everyone was
happy.

Now, the condensed version of the bold font is needed to be put in the mix
so I went and bought the font from Linotype directly and got the TrueType
version to keep things consistent.  On my Mac OS X 10.5 system the Futura LT
Condensed Bold looks just dandy in the QuickLook preview and the Font Book
preview but I have had a nightmare of a time trying to figure out why
ImageMagick does not like it.

I started by trying to use it within the application being developed which
required me to install ttf2afm to get the afm, configure the type.xml,
fiddle with the type.xml and learn along the way.  None of that was working
so I moved to using the command found at the bottom of this helpful page:

http://russia.shaps.hawaii.edu/software/add-to-im.html

Using that accelerated my testing but still no luck getting the font to
work.  This whole time I'm thinking that the afm that was generated was
incorrect or the settings in the type.xml were wrong but then I stumbled
across a version of the command that allowed me to specify the font directly
via the file path rather than the name of the font.  That command looked
like this:

convert -font /path/to/fonts/lte50169.ttf -fill black -draw 'text 1,20"LA LA
LA"' input.png pepe.png

When using the Futura LT Bold font it worked, when I used the Futura LT
Condensed Bold it simply gave me:

convert: unable to read font `/path/to/fonts/lte50169.ttf'.

So I'm left with wondering what is up with this font that I just bought.  It
appears to work in the places where font type people would expect it to but
not where I, the developer, need it to. I called Linotype to see if they had
any suggestions and they said all their fonts are test, they did not deal
with supporting ImageMagick and that the developer(s) of it should be
contacted to see if they could figure out the issue, being very
understanding all throughout the call.

So hear I am.  I can not just make the fonts available for all to try but I
do have permission to make them available to an ImageMagick developer that
it willing to try to troubleshoot this issue further.

Beyond that of course, has anyone run into this type of issue before, is
there something that can be done aside from what Linotype suggested and/or
should I ask for more versions of the font to test with?

Thanks,

--
David Steinbrunner


_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers

Reply via email to