Using imagemagick by way of PHP to create dynamic graphics on the web with some adobe fonts that are not included in the standard distro's font collection: Zapfino, Optima and MyriadPro-Light.
I've actually managed to get the app to work by referencing the font path directly:
$> convert -font 'fonts/Zapfino.dfont' -pointsize 25 -draw "text 30, 125 'Hello World!'" ....
But doing it this way doesn't, as far as I've read, allow you access to all of a font's faces, only the first one it finds. So, in the case of Optima, it grabs Bold, which is not what I want at all.
You can look at
(if this link doesn't resolve, omit the 'website' reference)
Pick a font from the list, enter some text and hit preview to see what I mean.
The funny thing about this is that referencing the font path directly works on this webserver but doesn't work on my development system. So, I'd like to get the font installed properly so as to reference it by name and be certain that it will appear as expected.
Most search results for how to do this assume one to be running Xorg and all you have to do is open up kcontrol (or whatever) and browse to the font files. This does work, but obviously on a server on which X isn't running this method does not apply.