Hi Paul.

Paul Carr:
>               There is a scaling issue in batik (which you're probably
> aware of). If you use an SVG editor( I used inkscape) to create a bog
> standard A4 portrait doc with an "X" exactly placed in each corner,
> save as plain SVG,  open with batik,  the resulting image is scaled
> slightly smaller than the original, which results in printing wrongly.
> The only "X" which is in the correct place is the one at the top left.
> The bottom X's have moved up, and the right X's have moved to the left.
>  
> This problem is illustrated nicely on Christians page here :
> http://www.linuxrising.org/svg_test/test.html
> It looks like a rounding issue when converting between pixels/mm /dpi
> (just a guess)

Is this a problem when using the rasterizer?  I could not reproduce the
problem within Squiggle, but if using the rasterizer from the 1.6
release without specifing the -area option, I get this problem.  For
example, with color-prop-01-b.svg, running

  batik-rasterizer color-prop-01-b.svg -d c.png -m image/png \
        -w 480 -h 360

results in a 480x360 image but it covers about 550x400 of user space.

This seems to have been fixed in the Subversion repository already,
though.

Cameron

-- 
 Cameron McCormack                      ICQ: 26955922
 cam (at) mcc.id.au                     MSN: cam (at) mcc.id.au
 http://mcc.id.au/                      JBR: heycam (at) jabber.org

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to