[MacPorts] #34072: gnuplot & gd: Could not find/open font when opening font "arial"
MacPorts
noreply at macports.org
Mon Apr 16 16:49:19 PDT 2012
#34072: gnuplot & gd: Could not find/open font when opening font "arial"
--------------------------------------------+-------------------------------
Reporter: mojca.miklavec.lists@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: gnuplot
--------------------------------------------+-------------------------------
Comment(by mojca.miklavec.lists@…):
Using the latest gd2 and gnuplot from macports doesn't change anything.
I have Arial.ttf at the following two locations:
{{{
/Library/Fonts/Microsoft/Arial.ttf
/Library/Fonts Disabled/Arial.ttf
}}}
Maybe the main difference between your and my mac is location of
Arial.ttf.
I realized that the problem goes away if I use
{{{
export GDFONTPATH=/Library/Fonts/Microsoft
}}}
before running Gnuplot (but output of show fontpath doesn't change even if
I change GDFONTPATH). The behaviour is "confirmed" on an "almost clean"
mac where "set term png" doesn't complain at all, but on that machine the
font is under /Library/Fonts without any subfolder. Most likely Microsoft
Office has moved Arial.ttf under /Library/Fonts Disabled/.
Yet another reason why using fontconfig for gd2 would help.
--
Ticket URL: <https://trac.macports.org/ticket/34072#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list