The fonts are recognized by ImageMagick when the following command is run:
Code: Select all
convert -list font
I am building a site that will convert dynamically generated SVG files so need the fonts to be available when the script is called from apache, via PHP exec.
I have copied the same type.xml file to /var/www/.magick but it is not picked up by ImageMagick.
When the same script is called via the site the custom fonts are substituted. Running the same command as above as the www-data user shows that the custom fonts I have added are not listed.
Code: Select all
sudo -u www-data convert -list font