You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by ne...@swisslab.de on 2006/04/28 13:18:56 UTC
fo:page-number in SVG
Hello List,
I've to rotate text and use SVG to perform that task because I'm using FOP
0.25 as renderer.
The result is a PDF file.
One part of the rotatet text is supposed to be the pagenumber. I tried:
<fo:block>
<fo:instream-foreign-object>
<svg:svg width="0.5cm" height="1cm">
<svg:g transform="rotate(90)">
<svg:text x="1" y="1"
style="font-family:Helvetica;font-size:8pt;font-weight:bold">
<fo:page-number/>
</svg:text>
</svg:g>
</svg:svg>
</fo:instream-foreign-object>
</fo:block>
But it seems that FOP ignores content inside a SVG :(
Does anybody know how I can output tha rotated pagenumber?
Thanks & with best regards,
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: fo:page-number in SVG
Posted by Chris Bowditch <bo...@hotmail.com>.
news@swisslab.de wrote:
<snip/>
> But it seems that FOP ignores content inside a SVG :(
SVG is procedd by Batik.
> Does anybody know how I can output tha rotated pagenumber?
Upgrade to FOP 0.92beta and you will be able to rotate text without
using SVG. Just put the page number into a Block Container and specify
reference-orientation="90"
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org