On Wednesday, April 18, 2012 05:15:57 pm pl...@pi... wrote:
> Hi Ethan,
>
> I am trying to update my 4.4.3 minimalistic ARM build to 4.6.0 and get a
> failure.
>
> ../term/svg.trm: In function 'SVG_text':
> ../term/svg.trm:1046: error: 'CANVAS_OVERSAMPLE' undeclared (first use
> in this function)
>
>
> I have edited term.h down to bare min as before but it looks like a need
> to add in canvas for svg now ??
>
> A quick look at the source seems it's just a tweaked constant (increased
> coord accuracy?).
>
> in term/canvas.trm:
> #define CANVAS_OVERSAMPLE 10.
>
> I hacked this line into svg.trm and it build OK. Perhaps the two should
> be separated.
Oops!
The dangers of cut-and-paste.
That should clearly be SVG_SCALE rather than CANVAS_OVERSAMPLE.
Fortunately they are both equal to 10 :-)
Ethan
>
>
>
> If anyone's interested, a minimal gnuplot for embedded is still under a
> meg when stripped.
>
> ARCH=arm ./configure --host=arm-unknown-linux-gnueabi --without-x
> --without-pdf \
> --without-cairo --disable-wxwidgets --without-x --without-tutorial \
> --prefix=/root_image/usr --without-lua --disable-h3d-quadtree
> --disable-stats --disable-history-file
>
>
> ls -ail src/gnuplot
> 17869545 -rwxr-xr-x 1 user users 966600 Apr 19 02:09 src/gnuplot
>
> regards, Peter.
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> gnuplot-beta mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
>
--
Ethan A Merritt
Biomolecular Structure Center, K-428 Health Sciences Bldg
University of Washington, Seattle 98195-7742
|