[MacPorts] #18647: ImageMagick: font path is incorrect (was: font path is incorrect in Imagemagick)

MacPorts noreply at macports.org
Mon Dec 6 15:34:58 PST 2010


#18647: ImageMagick: font path is incorrect
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  ryandesign@…           
     Type:  defect                 |      Status:  assigned               
 Priority:  Normal                 |   Milestone:                         
Component:  ports                  |     Version:  1.7.0                  
 Keywords:                         |        Port:  ImageMagick            
-----------------------------------+----------------------------------------

Comment(by ryandesign@…):

 I'm happy to add a port:urw-fonts dependency to ImageMagick if that
 prevents people from encountering an error. I hadn't seen the error myself
 (except when I tried in response to this ticket), because I don't do font
 things with ImageMagick, and also I already have urw-fonts installed
 because it's a dependency of graphviz, which I always have installed.

 The issue in this ticket that the paths specified are nonsensical (e.g.
 /opt/local/lib/ImageMagick-6.4.8/config//opt/local/share/ghostscript/fonts/n021003l.pfb)
 seems to have been resolved upstream by now; I can no longer reproduce
 that. But even with urw-fonts installed, I still get the following error,
 so I don't think adding a urw-fonts dependency is a solution:

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

 Looking back at [http://studio.imagemagick.org/pipermail/magick-
 bugs/2009-February/003174.html the thread I opened with the ImageMagick
 developers], it doesn't seem to have reached a conclusion. I may have
 forgotten to respond. It seemed to have ended with the developers saying
 ImageMagick should be using FontConfig if it's there, and ImageMagick in
 MacPorts does use FontConfig, so I still don't know why anything is trying
 to read these PFB fonts instead of the TrueType ones provided by Mac OS X.

-- 
Ticket URL: <https://trac.macports.org/ticket/18647#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list