[changeset-2] improved support for pdf output

John W. Eaton jwe at octave.org
Wed Apr 8 21:26:50 CDT 2009


On  8-Apr-2009, Ben Abbott wrote:

| On Apr 8, 2009, at 8:06 PM, Michael D. Godfrey wrote:
| 
| >> I tried the following with Matlab 2008b
| > I thought about trying 2008b, but 2007b was handier.  The underlying
| > behavior does not seem to have changed, and I think you have done
| > the right thing.  It does not appear that whatever replaces  
| > BoundingBox in
| > PDF actually causes a problem.  I could display text within what  
| > seemed to
| > be the "frame" for the PDF that I generated in Matlab.
| > Tell me when you push this changeset.
| >
| > Michael
| 
| 
| I've made changes that attempt to produce compatible behavior across  
| several terminals. I've tested pdf, ps, eps, jpeg, jpg, and png (I had  
| the bitmaps implemented incorrectly ... I apologize to those who I  
| recall tried to get that point across over the last few weeks).

| +      fprintf (plot_stream, sprintf ("%s\n", term_str));

Why not

  fprintf (plot_stream, "%s\n", term_str);

?

| +      [status, output] = system ("which convert");

Is "which" reliable on all systems?  Why not just try to run the
convert command and see if it works?

jwe


More information about the Octave-maintainers mailing list