Opened 13 years ago

Closed 9 years ago

#14999 closed defect (fixed)

gd2 does not see fonts

Reported by: iqgrande Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: gd2 font Cc:
Port: gd2

Description (last modified by ryandesign (Ryan Schmidt))

When I was using Port "gnuplot" to create some PNG and JPEG figures, which uses Port "gd2" for this, I was getting errors about the fonts not being found. A few lines of these errors are shown below.

$ gnuplot gnuplot.commands
gdImageStringFT: Could not find/open font while printing string  0 with font arial
gdImageStringFT: Could not find/open font while printing string  10 with font arial
...

If this helps, the site http://www.groupsrv.com/computers/about265948.html mentions that GDFONTPATH may not be setup properly.

My environment:

  • MacBook Pro (1st gen)
  • Mac OS X 10.5.2 (fully up-to-date)
  • Xcode 3.0 (latest AFAIK without iPhone dev)
  • XQuartz 2.1.4 (latest)
  • Latest MacPorts & Ports

Change History (6)

comment:1 Changed 13 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 12 years ago by ryandesign (Ryan Schmidt)

Sorry, I don't know what to do here. You may need to ask the developers of gnuplot and/or gd2 for assistance. Or you may just need to set the GDFONTPATH environment variable, as you already mentioned.

comment:3 Changed 12 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Port: gd2 added

comment:4 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 9 years ago by ryandesign (Ryan Schmidt)

This problem was reported again in #26897.

comment:6 Changed 9 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: newclosed

Should be fixed by r87966, cf. #26897.

Note: See TracTickets for help on using tickets.