octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34146] svg output does not scale


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #34146] svg output does not scale
Date: Wed, 31 Aug 2011 18:48:43 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.215 Safari/535.1

Follow-up Comment #9, bug #34146 (project octave):

I have confirmed that gnuplot has changed the way SVG is output. The code
snippet below is from their developer's cvs.


    if (SVG_fixed_size)
        fprintf (gpoutfile, "n width="%u" height="%u" ",
                 (unsigned int) (term->xmax / SVG_SCALE),
                 (unsigned int) (term->ymax / SVG_SCALE));

    fprintf (gpoutfile, "n viewBox="0 0 %u %u"n",
             (unsigned int) (term->xmax / SVG_SCALE),
             (unsigned int) (term->ymax / SVG_SCALE));
 

The current sources should produce an unscaled version by default. Ironically,
the manual for the 4.4 series indicates that unscaled is the default, but
gnuplot produces a scalable version, none the less.

In any event, the sources can be modified to ensure the output is scalable for
gnuplot.

As we'd like the OpenGL output to be consistent, I'll check with the glps
developers to see what can be done there.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34146>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]