Page 1 of 1
Whre are my fonts?
Posted: 2007-01-31T06:23:49-07:00
by gdtrfb
I'm running IM 5.5.7 on Mac OS X Server 10.2.6. I know, they're both old, but they've been running great for years and if it ain't broke...
So now my question, where are the fonts that I'm using located? How can I figure that out?
When I say
mogrify -font Helvetica -draw 'text 25, 40, "stuff"' ...
Where does that Helvetica font come from?
Eventually I'm going to have to upgrade to the latest version of IM and OS X as we're getting new machines (yeah) and I want to make sure I've got all my fonts that fit properly in all my templates, etc.
Thanks!
--Mark
Posted: 2007-01-31T06:25:03-07:00
by gdtrfb
A quick followup to my original question above...
If I do "identify -list type" or "identify -list Type" both come back empty.
--Mark
Posted: 2007-01-31T09:01:34-07:00
by magick
ImageMagick apparently cannot find its font configuration files or they are empty. Try
- identify -debug configure -list type
and see where its looking for type.mgk, the font configuration file.
Posted: 2007-01-31T10:41:00-07:00
by gdtrfb
Here's the output from the identify comand:
Code: Select all
[Sol:Drive2/WEB/testout] admin% identify -debug configure -list type
11:54:46 0:01 0.030u 4441 utility.c/IsAccessible/1599/Configure:
*[Aa]ll* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Aa]ll* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Aa]ll* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Aa]ll* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Aa]ll* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
*[Aa]nnotate* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Aa]nnotate* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Aa]nnotate* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Aa]nnotate* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Aa]nnotate* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
*[Bb]lob* [No such file or directory]
11:54:46 0:01 0.040u 4441 utility.c/IsAccessible/1599/Configure:
[Bb]lob* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Bb]lob* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Bb]lob* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Bb]lob* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Cc]ache* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]ache* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]ache* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]ache* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]ache* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Cc]oder* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]oder* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]oder* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]oder* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]oder* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Cc]onfigure* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]onfigure* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]onfigure* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]onfigure* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Cc]onfigure* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Dd]eprecate* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Dd]eprecate* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Dd]eprecate* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Dd]eprecate* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Dd]eprecate* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Ll]ocale* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Ll]ocale* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Ll]ocale* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Ll]ocale* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Ll]ocale* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Nn]one* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Nn]one* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Rr]esource* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Rr]esource* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Rr]esource* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Rr]esource* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Rr]esource* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Rr]ender* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Rr]ender* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Rr]ender* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Rr]ender* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Rr]ender* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[Tt]ransform* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Tt]ransform* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Tt]ransform* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Tt]ransform* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[Tt]ransform* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[U]ser* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[U]ser* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[U]ser* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[U]ser* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[U]ser* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
*[X]11* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[X]11* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[X]11* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[X]11* [No such file or directory]
11:54:46 0:01 0.050u 4441 utility.c/IsAccessible/1599/Configure:
[X]11* [No such file or directory]
11:54:46 0:01 0.070u 4441 type.c/GetTypeBlob/214/Configure:
Searching for type file "type.mgk" ...
11:54:46 0:01 0.070u 4441 utility.c/IsAccessible/1599/Configure:
/usr/local/lib/ImageMagick-5.5.7/type.mgk [Undefined error: 0]
[Sol:Drive2/WEB/testout] admin%
And then when I examine the type.mgk file:
Code: Select all
[Sol:Drive2/WEB/testout] admin% ls /usr/local/lib/ImageMagick-5.5.7
colors.mgk locale.mgk modules-Q16 type-windows.mgk
delegates.mgk log.mgk type-ghostscript.mgk type.mgk
english.mgk magic.mgk type-solaris.mgk
[Sol:Drive2/WEB/testout] admin% cat !$/type.mgk
cat /usr/local/lib/ImageMagick-5.5.7/type.mgk
<?xml version="1.0"?>
<typemap>
</typemap>
[Sol:Drive2/WEB/testout] admin%
The type-ghostscript.mgk file is not empty. And, indeed contains entries for Helvetica:
Code: Select all
...
<type
name="Helvetica"
fullname="Helvetica Regular"
family="Helvetica"
foundry="URW"
weight="400"
style="normal"
stretch="normal"
format="type1"
metrics="n019003l.afm"
glyphs="n019003l.pfb"
/>
<type
name="Helvetica-Bold"
fullname="Helvetica Bold"
family="Helvetica"
foundry="URW"
weight="700"
style="normal"
stretch="normal"
format="type1"
metrics="n019004l.afm"
glyphs="n019004l.pfb"
/>
...
If I search for the filenames "n019003l.afm" I see it in an archive directory...but not in a place that I would expect IM to be able to find it.
Then again, if I knew where IM was looking for things then I wouldn't be posting here!
Changing the name of the folder enclosing the lone copy of n019003l.afm on the system does not produce any errors, so I don't think that's the copy it's using.
Any ideas?
--Mark
Posted: 2007-01-31T11:05:01-07:00
by magick
Our type.mgk file looks like this:
- <?xml version="1.0" encoding="UTF-8"?>
<typemap>
<include file="type-ghostscript.xml" />
</typemap>
and the first few lines of type-ghostscript.xml"
- <?xml version="1.0" encoding="UTF-8"?>
<typemap>
<type
name="AvantGarde-Book"
fullname="AvantGarde Book"
family="AvantGarde"
foundry="URW"
weight="400"
style="normal"
stretch="normal"
format="type1"
metrics="/usr/local/share/ghostscript/fonts/a010013l.afm"
glyphs="/usr/local/share/ghostscript/fonts/a010013l.pfb"
/>
...
Notice the complete path to the Ghostscript fonts.