Hi List,

I'm trying to get an SVG logo on a pageusing fo:instream-foreign-object,
but all I got was total nothingness. So I trimmed down the example and
after some experimenting, I got it working with svg:rect, but as soon as
a svg:path turned up, it didn't get rendered.

Does anybody know of this issue? Or am I simply missing something? I'm
using FOP 1.0 with Batik 1.7.From a long time ago I remember I had
something similar and that I needed to setup a viewport or coordinates
translation or something, but I can't find the example I had back then.

This is a rectangle drawn by svg:path, which doesn't work:

   <svg xmlns="http://www.w3.org/2000/svg";
      width="40px" height="40px">
      <path style="stroke:black; stroke-width:2; fill:red"
         d="M 20 390 L 80 390 L 80 410 L 20 410 Z" />
   </svg>

Any helpis appreciated,

Thanks,
Abel Braaksma

Reply via email to