[Pkg-octave-devel] Wrong octave/gnuplot plot output

Marco Mattiolo marco.mattiolo at hotmail.it
Wed Aug 1 08:52:38 UTC 2012


Il 27/07/2012 23:46, Mike Miller ha scritto:
> Not quite. Octave changed the way it specifies what "default font" 
> means to the gnuplot backend, namely from specifying a default of "" 
> to the string "{}". Refer to the bug report leading to that change 
> [1], there was a good reason for it. IIRC what this ends up doing is 
> making ghostscript now choose the default font rather than gnuplot. 
> This is why Jordi points out it is ghostscript's default font that you 
> have a problem with.
Ok, so now the options are:
-ask ghostscript to change its deafult font
-modify ~/.octaverc
-use graphics_toolkit("fltk") after bug being solved

> If you generate an eps file instead of png you can compare the font 
> selection directly in the files, you will see the difference. Added 
> bonus, this takes ghostscript out of the equation. 
I dont' understand this, eps output uses the same font as png one.

Thanks
Marco



More information about the Pkg-octave-devel mailing list