ImagickDraw::setFont has no effect on my system; suggestions?
Posted
by Dejay Clayton
on Stack Overflow
See other posts from Stack Overflow
or by Dejay Clayton
Published on 2010-05-01T17:24:37Z
Indexed on
2010/05/01
17:27 UTC
Read the original article
Hit count: 412
Running on Ubuntu LTS 8.04, PHP 5.2.8, ImageMagick 6.6.1-5 installed from source, and Imagick 2.3.0 installed from pecl.
ImageMagick's 'convert' command sets fonts properly, and ImagickDraw::setFont properly complains if an invalid path to a font has been specified. However, specifying a valid font has no effect in changing the appearance of the drawn font whatsoever. Also, specifying a valid filename that contains invalid font data fails to trigger an error. It's almost as if Imagick isn't doing anything other than verifying that the specified file exists. Any suggestions?
© Stack Overflow or respective owner