#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 and.damore@…): Replying to [comment:2 mojca.miklavec.lists@…]:
I have {{{ gnuplot @4.6.0_0+luaterm+pangocairo+qt+wxwidgets_devel (active) platform='darwin 11' archs='x86_64' gd2 @2.0.35_11 (active) platform='darwin 11' archs='x86_64' }}} but as I said, I need more extensive checking/research.
I checked without the variants (that you have anyway) and I cannot reproduce.
I remember that I saw it working earlier and I have no idea why it still complains. But anyway, Ethan's patch might be worth exploring even if this particular issue with "arial not found" goes away. I can still imagine that users put fonts to exotic places and change fontconfig's configuration. In those cases simply setting the three default paths to fonts doesn't suffice anyway.
In that case it would be the user's task to set the software accordingly. Default path values are for default case.
slightly offtopic: Two particular requests for you (Andrea): I would really like to know where exactly that exclamation mark (r76048) makes a difference (this was the main reason that I added you to CC; I would like to see a tiny minimal example or something similar)
IIRC I had issues with the recursive paths so I removed the exclamation marks, if you think those are not needed we can remove the patch for sure. I'm not a gnuplot user so I'm not aware how to list/test available fonts.
Since MacPorts now has the necessary patch in gd2 (r92005), we could fix gnuplot in MacPorts before the patch is included in gnuplot upstream. But I would like to do some additional testing with both PostScript and GD (png) terminals before committing anything.
I wouldn't suggest to patch it in Macports if upstream is aware of the issue and ready to patch. I'd rather ask for GD to release a new patched version so gnuplot can push the updated version too. Back to this ticket: what does '''show fontpath''' output at gnuplot's prompt? can you reproduce the issue with fresh install of '''gd''' and '''gnuplot''' ports? -- Ticket URL: <https://trac.macports.org/ticket/34072#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS