WITHDRAWN: possible bug with directories for type.xml
Posted: 2011-03-30T15:20:55-07:00
IM 6.6.9.1 Q16 Mac OSX Tiger
I am unable to get fontconfig to read my fonts from the type.xml file after replacing it.
Seems like over the last couple of releases, the location of the type.xml file has been moving. Now I only see it in one place. Here is a list of the type.xml files on my Mac:
The only location for ImageMagick-6.6.9 is in blue below. Previously it appeared in two or more locations.
find /usr | grep "type.xml"
/usr/local/etc/ImageMagick/type.xml
/usr/local/etc/ImageMagick-6.6.8/type.xml
/usr/local/lib/ImageMagick-6.6.8/config/type.xml
/usr/local/share/doc/ImageMagick-6.6.8/www/source/type.xml
/usr/local/share/doc/ImageMagick-6.6.9/www/source/type.xml
/usr/local/var/ImageMagick-6.6.8/type.xml
/usr/local/var/lib/ImageMagick-6.6.8/type.xml
I edited the type.xml file to include my personal font file created by Anthony's script imagick_type_gen.pl. I did this successfully in previous releases, but then it was located in either /usr/local/lib/ImageMagick-6.6.8/config/type.xml or /usr/local/var/lib/ImageMagick-6.6.8/type.xml. But there is no copy of it in either of those locations for ImageMagick-6.6.9
Is there a directory missing now that should contain the type.xml file that needs to be edited?
WITHDRAWN: I see now that it needs to be edited in /usr/local/etc/ImageMagick/type.xml
I am unable to get fontconfig to read my fonts from the type.xml file after replacing it.
Seems like over the last couple of releases, the location of the type.xml file has been moving. Now I only see it in one place. Here is a list of the type.xml files on my Mac:
The only location for ImageMagick-6.6.9 is in blue below. Previously it appeared in two or more locations.
find /usr | grep "type.xml"
/usr/local/etc/ImageMagick/type.xml
/usr/local/etc/ImageMagick-6.6.8/type.xml
/usr/local/lib/ImageMagick-6.6.8/config/type.xml
/usr/local/share/doc/ImageMagick-6.6.8/www/source/type.xml
/usr/local/share/doc/ImageMagick-6.6.9/www/source/type.xml
/usr/local/var/ImageMagick-6.6.8/type.xml
/usr/local/var/lib/ImageMagick-6.6.8/type.xml
I edited the type.xml file to include my personal font file created by Anthony's script imagick_type_gen.pl. I did this successfully in previous releases, but then it was located in either /usr/local/lib/ImageMagick-6.6.8/config/type.xml or /usr/local/var/lib/ImageMagick-6.6.8/type.xml. But there is no copy of it in either of those locations for ImageMagick-6.6.9
Is there a directory missing now that should contain the type.xml file that needs to be edited?
WITHDRAWN: I see now that it needs to be edited in /usr/local/etc/ImageMagick/type.xml