Thanks Cameron,
Have you tried printing a hardcopy ? It looks correct in
squiggle, but when I print it to A4 the right hand side of the image is
not on the edge of the paper, neither is the bottom. The image has been
scaled down to 200 x 288 mm, which isn't cool when you're trying to
print accurately to a somewhat expensive certificate. I've attached a
scan of the A4 result after printing your SVG to help clarify the
issue.(had to use serious compression to get through apache's mail
daemon....so apologies if it looks a bit naff)If you open it in
something with a grey background it is easy to see where the paper edge
is.I'm not sure whether it's my printer doing some jiggery pokery. If anyone would like to help diagnose this please use squiggle to print off a hardcopy of the attached SVG ( making sure you set all the margins to 0.0 in the print dialog) Cheers Paul. -----Original Message----- From: Cameron McCormack [mailto:[EMAIL PROTECTED] Sent: 07 February 2006 21:37 To: [email protected] Subject: Re: Bug ( I think) Hi Paul. Paul Carr: > Has anyone got an example portrait A4 SVG file that will print to all > extremities of the page from squiggle ? This does: <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="210mm" height="297mm" viewBox="0 0 210 297"> <rect width="100%" height="100%" stroke="black" stroke-width="1" fill="none"/> <circle cx="0" cy="0" r="20"/> <circle cx="210" cy="0" r="20"/> <circle cx="0" cy="297" r="20"/> <circle cx="210" cy="297" r="20"/> </svg> Note how the viewBox defines the area of the coordinate system that is mapped into the 210mm x 297mm space. In this case, one user unit is the same as 1mm. If you convert this file to a PDF you should see that it displays properly on the A4 page, and that the rect and the mid-points of the circles are right on the corners of the page: java -jar batik-rasterizer.jar a4.svg -m application/pdf -d a4.pdf -- 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]
<<attachment: paperscan2.jpg>>
scalingProblem.svg
Description: scalingProblem.svg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
