I've just started using Octave. When I start octave and try to plot something, the plot works but I get the following warnings repeated many times:
warning: ft_render: unable to load appropriate font
warning: ft_render: invalid bounding box, cannot render
More warnings appear if I click and drag the plot or even mouse-over it. If I then try to add an xlabel or title, I get a segfault and octave quits. The default graphics_toolkit is fltk, which I found by starting octave and running
graphics_toolkit();
If I start octave and try
graphics_toolkit("gnuplot");
x=-10:0.1:10;
plot(x,sin(x));
the plot works, but I still get the warning about the bounding box. Adding labels or titles works but gives more bounding box warnings.
Here's the weird bit. If I now change the toolkit back to fltk, and plot again,
graphics_toolkit("fltk");
x=-10:0.1:10;
plot(x,sin(x));
Then the plot works, and only the bounding box warning shows up, and I can add labels etc. In other words, the same behaviour as gnuplot. In fact, the plot looks more like a gnuplot one than an fltk one (judging by the buttons along the bottom). But if I start octave and try this:
graphics_toolkit("gnuplot");
graphics_toolkit("fltk");
x=-10:0.1:10;
plot(x,sin(x));
Then it seems like it's back in the fltk environment as both warnings occur and labels cause a segfault again.
Two questions:
What are the bounding box/font rendering warnings on fltk and the bounding box ones on gnuplot and how do I fix them?
What is going on with the fltk toolkit? It doesn't seem to be possible to change back to it after using gnuplot.
I'm using Octave 3.8.0 on Ubuntu 12.04.