Thanks.
I noticed that it's just because I can't put text on the image. Thanks for pointing out this important thing.
But even if I successfully created a new image, the font was still not applied and the warning still exist:
Code: Select all
Aws-MacBook-Pro: awguo$ convert -background lightblue -fill blue -font Verdana\
> -size 165x80 -pointsize 24 label:awguo labeltest.gif
Fontconfig warning: ignoring UTF-8: not a valid region tag
Here is the result for convert -version
Code: Select all
Version: ImageMagick 6.8.9-1 Q16 x86_64 2014-07-12 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib djvu fftw fontconfig freetype gslib jng jpeg lcms ltdl lzma png ps tiff webp x xml zlib
And I am sure the Verdana font is existed and path is correct in the type.xml. I tried some other fonts, got the same result. So no font is applied to my image.
Thanks for any kind of tips!