It seems your message got stuck in the moderation list. You can get
better results if you subscribe to the fop-users list. That way your
messages don't need to be moderated.

To your problem: Simply comment the call to drawFrame() in
org.apache.fop.render.svg.SVGRenderer.render(Page) and recompile FOP.

Please note that the SVG renderer is probably not of the same quality as
the PDF renderer in FOP 0.20.5. The currently release doesn't even have
a working SVG renderer, yet.

On 04.10.2006 09:45:12 Guido Badertscher\(gli\) wrote:
> Hi
> 
> I get a border surrounding the content, if I transform a fo into a svg.
> The border is a <rect> Element with width and height equal to image
> width and height (specified in the <svg> element). I am using apache fop
> version 20.5.
> 
> FO:
> <?xml version="1.0" encoding="iso-8859-1"?>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
>       <fo:layout-master-set>
>               <fo:simple-page-master master-name="esr"
> margin-top="0cm" margin-bottom="0cm" margin-left="0cm"
> margin-right="0cm" page-width="210mm" page-height="105mm">
>                       <fo:region-body/>
>               </fo:simple-page-master>
>       </fo:layout-master-set>
> 
>       <fo:page-sequence master-reference="esr">
>               <fo:flow flow-name="xsl-region-body">
>                       placetablehere
>               </fo:flow>
>       </fo:page-sequence>
> </fo:root>
> 
> 
> SVG:
> <?xml version="1.0" encoding="UTF-8"?>
> <svg contentScriptType="text/ecmascript" width="595"
> xmlns:xlink="http://www.w3.org/1999/xlink"; zoomAndPan="magnify"
> contentStyleType="text/css" height="298" preserveAspectRatio="xMidYMid
> meet" xmlns="http://www.w3.org/2000/svg"; version="1.0">
>       <g id="Page-1" style="font-family:sanserif;font-size:12"
> transform="translate(0,0.0)">
>               <rect x="0" width="595" y="0" height="298"
> style="fill:none;stroke:black" />
>               <text x="0" y="11.56" />
>               <a xlink:type="simple" xlink:actuate="onRequest"
> xlink:show="replace" xmlns:xlink="http://www.w3.org/1999/xlink";
> xlink:href="#svgView(viewBox(0, 0.0, 595, 298))">
>                       <rect x="0" width="297" y="0" height="298"
> style="fill:blue;visibility:hidden" />
>               </a>
>       </g>
> </svg>


Jeremias Maerki


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

Reply via email to