Font problem with png terminal 2.9.17+

John W. Eaton jwe at bevo.che.wisc.edu
Tue Dec 4 10:03:18 CST 2007


On  4-Dec-2007, dbateman wrote:

| Fredrik Lingvall wrote:
| > 
| > I have this issue with printing to png files:
| > 
| > octave:1> figure(1)
| > octave:2> plot(randn(100,1))
| > octave:3> xlabel('x')
| > octave:4> print -dpng test.png
| > gdImageStringFT: Could not find/open font while printing string x with 
| > font helvetica
| > 
| 
| Ok, I couldn't check the png terminal on my rough gnuplot 4.2.2
| installation. I suppose that in fact the best way to deal with this is to
| have a fontname "default" and don't try to set the fontname at all if the
| fontname is "default". However this might cause issues with the TeX
| \fontname option, but I think we can live with that

I'm not sure I see the need to fix this problem.  Isn't the message
from gnuplot just a warning?

jwe


More information about the Octave-maintainers mailing list