[Pkg-octave-devel] Bug#515743: octave3.1: 3.1.51 and 3.1.52

Francesco Potorti` Potorti at isti.cnr.it
Mon Feb 23 15:37:26 UTC 2009


>3.1.52-1 and 3.1.52-2 have problems with plotting when printing to png
>or svg.  In the former, antialising apparently does not work, so both
>lines and numbers are ugly.  

We have already explained this, apparently it is not a bug.

About the title size to be different from before, it is in fact not a
bug.  It was caused by a workaround of mine to the 3.1.51 bug that made
it unable to find the right fonts.  So not a bug here either.

>			      In both, symbols are maybe twice as big as
>they used to be, this is true at least for circles and stars.

This is apparently a regression.  I just posted a patch to octave-bugs
that solves the problem for me by reverting to pre-3.1.52 behaviour:

--- /usr/share/octave/3.1.52/m/plot/__go_draw_axes__.m~	2009-02-21 11:08:47.000000000 +0100
+++ /usr/share/octave/3.1.52/m/plot/__go_draw_axes__.m	2009-02-23 16:30:09.000000000 +0100
@@ -594,7 +594,7 @@
 	     usingclause{data_idx} = sprintf ("record=%d", numel (obj.xdata));
 
 	     if (isfield (obj, "markersize"))
-	       mdat = obj.markersize / 3;
+	       mdat = obj.markersize / 6;
 	     endif
 
              if (isfield (obj, "edgecolor"))
@@ -1320,7 +1320,7 @@
     endif
 
     if (isfield (obj, "markersize"))
-      fprintf (plot_stream, " pointsize %f", obj.markersize / 3);
+      fprintf (plot_stream, " pointsize %f", obj.markersize / 6 );
       found_style = true;
     endif
   else





More information about the Pkg-octave-devel mailing list