ghostscript error message. Port bug?

2010-12-06 Thread Alan Clifford


After installing ImageMagic, this is my first port of call about an error 
message


I am getting this error message

convert: unable to read font 
`/opt/local/share/ghostscript/fontsx/n021003l.pfb' @ 
error/annotate.c/RenderFreetype/1059.


repeated eight times when running my bash script, which is

--- script --
COPYRIGHT='Copyright Alan H. Clifford'
convert -size 300x25 xc:grey30 -font Times-Roman -pointsize 20 -gravity 
center \

  -draw scale 1,1 fill grey70  text 0,0  ${COPYRIGHT} \
  stamp_fgnd.png
convert -size 300x25 xc:black -font Times-Roman -pointsize 20 -gravity 
center \

  -draw scale 1,1 fill white  text  1,1  ${COPYRIGHT}  \
 text  0,0  ${COPYRIGHT}  \
 fill black  text -1,-1 ${COPYRIGHT} \
  +matte stamp_mask.png
composite -compose CopyOpacity  stamp_mask.png  stamp_fgnd.png 
copyright_stamp.png

mogrify -trim +repage copyright_stamp.png
--- script --

First of all, I do seem to be successfully creating useable files so I am 
not sure exactly what the error actually is.


Port did not install a ghostscript/fontsx directory and there is no 
n0210031.pbf in the ghostscript/font directory.


I guess I could copy that file from my Linux computer where the script 
shows no error but maybe this is a Port bug that I should report?


--
Alan

(  Please address personal email to alan+1@ as email to lists@
   is only read from my subscribed lists. )

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: ghostscript error message. Port bug?

2010-12-06 Thread Ryan Schmidt
On Dec 6, 2010, at 12:35, Alan Clifford wrote:

 I am getting this error message
 
 convert: unable to read font 
 `/opt/local/share/ghostscript/fontsx/n021003l.pfb' @ 
 error/annotate.c/RenderFreetype/1059.
 
 repeated eight times when running my bash script

[snip]

 First of all, I do seem to be successfully creating useable files so I am not 
 sure exactly what the error actually is.
 
 Port did not install a ghostscript/fontsx directory and there is no 
 n0210031.pbf in the ghostscript/font directory.
 
 I guess I could copy that file from my Linux computer where the script shows 
 no error but maybe this is a Port bug that I should report?


I think that's this error:

https://trac.macports.org/ticket/18647

I'm not certain what I need to do to fix it however which is why it's remaining 
unresolved for 2 years so far. If you have suggestions, let me know.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: ghostscript error message. Port bug?

2010-12-06 Thread Alan Clifford

On Mon, 6 Dec 2010, Ryan Schmidt wrote:




I think that's this error:

https://trac.macports.org/ticket/18647

I'm not certain what I need to do to fix it however which is why it's 
remaining unresolved for 2 years so far. If you have suggestions, let me 
know.





Well, as it didn't appear to affect the output for me, it doesn't appear 
to use those font files. Well not for me anyway.


But I have created a /opt/local/share/ghostscript/fontsx directory and put 
the n021003l.afm n021003l.pfb n021003l.pfm into it.  That got rid of the 
error messages which would have irritated me.


I guess if you put all of ghostscript-fonts-std-8.11.tar.gz in there, the 
error messages would go away for fonts other than times-roman as well. 
But I don't actually know what I am doing here.


--
Alan

(  Please address personal email to alan+1@ as email to lists@
   is only read from my subscribed lists. )

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users