You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Derek Hohls <dh...@csir.co.za> on 2005/07/26 12:12:57 UTC

SVG print problem

I know this is not strictly a Cocoon issue - 
but I though someone else here may have
solved a similar problem...

I have an SVG file, which, if displayed in the 
bowser (IE6, using the Adobe plug-in) appears
OK.

However, when I try to print it, the image right 
and bottom edges are cut off.

Here is a simple sample test.svg:
<?xml version="1.0" encoding="ISO-8859-1"?>
<svg:svg 
   xmlns:svg="http://www.w3.org/2000/svg" 
   xmlns:xlink="http://www.w3.org/1999/xlink" 
   height="400" width="500" id="008">
  <svg:rect 
     style="fill:red; stroke:blue; stroke-width:10pt;" 
     height="400" width="500"/>
</svg:svg>

and "wrapper" page:
<html>
<head>
<title>Test</title>
</head>
<body>
<div align="center">
<br>
<embed 
  src="test.svg" 
  type="image/svg+xml" height="400" width="500">
</embed>
<br>
</div
</body>
</html>

that exhibits this problem.

Any ideas appreciated!

Thanks
Derek


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org