Page 1 of 1

Unable to get type metrics

Posted: 2010-09-08T11:33:46-07:00
by kernelpanic
hi, I'm using XP SP3 and the latest download from sourceforge. I'm trying to convert a simple text file (name.txt) which contains a name like "kernelPanic" to a png image.

All my attempts

convert name.txt name.png
convert text:name.txt name.png

and various other renditions that include -font -size, etc and even my attempts to convert a label using some of the commonly found examples, all result in this error

convert: unable to get type metrics (name.txt)

Google has been no help. The forums here had a reference to needing ghostscript installed - that was on a server environment - but I installed it anyway - same error.

Does anyone know where I have gone astray here?

regards,
kp

Re: Unable to get type metrics

Posted: 2010-09-08T12:04:44-07:00
by el_supremo
Try something like this:

Code: Select all

convert -font "Lucida-Handwriting-Italic" -pointsize 48 label:@name.txt name.png
Pete

Re: Unable to get type metrics

Posted: 2010-09-08T13:17:53-07:00
by kernelpanic
el_supremo wrote:Try something like this:

Code: Select all

convert -font "Lucida-Handwriting-Italic" -pointsize 48 label:@name.txt name.png
Pete
thank you - that get's me the same basic error

convert: Unable to get type metrics (@name.txt)


I'm now wondering if this is not some configuration issue on this install. I will try it on another PC and see

Re: Unable to get type metrics

Posted: 2010-09-09T11:46:18-07:00
by kernelpanic
well, not sure what the issue is on this computer. ImageMagick will not run at all. I've uninstalled/reinstalled - all I get now is an error that the program is not configured properly. :(