I think, i don't understand fully the problem you have, but since i had to 
embed different sized Logos in some pdf Document and there was a lot of 
problems with transparency with all graphic-formats except svg, i patched th 
PDFRenderer of fop. So i can do something like that.

    <xsl:template match="logos">
        <fo:block text-align="center" vertical-align="middle" 
border-style="solid">
            <fo:inline>
            <xsl:for-each select="logo">
                <fo:external-graphic width="80pt" height="50pt">
                    <xsl:attribute name="src"><xsl:value-of select="@src"/></
xsl:attribute>
                </fo:external-graphic>
            </xsl:for-each>
            </fo:inline>
        </fo:block>
    </xsl:template>

The Problem may be, that th scaling don't change the ratio of the svg's. So 
the width and height attributes only define a bounding box in which the svg 
is scaled. So if your svg is 15 x 150 then (depending on the sample above) it 
will be scaled to somthing like 5 x 50. I don't know, if that helps you, but 
i can send you my fop.jar if you like.

Martin
-- 
Dievision GmbH | Kriegerstrasse 44 | 30161 Hannover
Telefon: (0511) 288791-0 | Telefax: (0511) 288791-99
http://www.dievision.de | mailto:[EMAIL PROTECTED]


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

Reply via email to