Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gordon Saxby 1461 posts 1883 karma points
    Jan 04, 2012 @ 12:05
    Gordon Saxby
    0

    SVG code doesn't work in v2

    I created a number of PDF templates using v1.2 which used SVG to draw lines. I have upgraded to v2 and these lines no longer appear.

    A simplified version is

                  <fo:instream-foreign-object>
                    <svg xmlns="http://www.w3.org/2000/svg" width="210mm" height="297mm">
                      <g>
                        <line x1="20mm" y1="10mm" x2="20mm" y2="14mm" style="fill:black" width="1mm"/>
                      </g>
                    </svg>
                  </fo:instream-foreign-object>

    Any ideas why it isn't working?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jan 04, 2012 @ 22:27
    Darren Ferguson
    0

    Could you mail me over a full fo output so I can test locally?

    Just turn off PDF rendering mail over the FO.

    It may turn out to be an issue that I need to file a bug report on.

    Thanks.

  • Gordon Saxby 1461 posts 1883 karma points
    Jan 04, 2012 @ 23:13
    Gordon Saxby
    0

    Hi Darren, I have just emailed you a file containing the output.

     

  • Gordon Saxby 1461 posts 1883 karma points
    Jan 05, 2012 @ 16:00
    Gordon Saxby
    0

    Hi Darren, did you get my email and have you had chance to look at it?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jan 05, 2012 @ 16:50
    Darren Ferguson
    0

    I have your email - but I won't have a chance to look at it until tomorrow.

    Thanks.

Please Sign in or register to post replies

Write your reply to:

Draft