MagickWand: Font error
Posted: 2008-06-04T14:56:26-07:00
Hello,
I am trying to annotate some text on top of an image using the MagickWand (for C) API's. I am actually doing the following:
MagickWand *mwand;
DrawingWand *dwand;
MagickWandGenesis();
mwand = NewMagickWand();
char file[] = "image.jpg";
MagickReadImage(mwand, file);
dwand = NewDrawingWand();
MagickAnnotateImage(mwand, dwand, 10, 10, 0, "TEXT");
At this point, the program gives the following error::
unable to read font '/usr/local/lib/ImageMagick-6.4.1/config//usr/share/ghostscript/fonts/n019003l.pfb'.
'/usr/local/lib/ImageMagick-6.4.1/config//usr/share/ghostscript/fonts/n019003l.pfb'.
I'm guessing something is wrong with my ghostscript installation/configuration, but am not able to pin-point what is to be done. Any help will be appreciated.
I am trying to annotate some text on top of an image using the MagickWand (for C) API's. I am actually doing the following:
MagickWand *mwand;
DrawingWand *dwand;
MagickWandGenesis();
mwand = NewMagickWand();
char file[] = "image.jpg";
MagickReadImage(mwand, file);
dwand = NewDrawingWand();
MagickAnnotateImage(mwand, dwand, 10, 10, 0, "TEXT");
At this point, the program gives the following error::
unable to read font '/usr/local/lib/ImageMagick-6.4.1/config//usr/share/ghostscript/fonts/n019003l.pfb'.
'/usr/local/lib/ImageMagick-6.4.1/config//usr/share/ghostscript/fonts/n019003l.pfb'.
I'm guessing something is wrong with my ghostscript installation/configuration, but am not able to pin-point what is to be done. Any help will be appreciated.