[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Scaling of SVG in FOP doesn't work
Platform: debian testing/unstable (Sarge), DocBook XML 4.1.2, DocBook XSL 1.60.1, Dia 0.90, FOP 0.20.5rc2 I am including a figure with the below code. All versions of the image, are exported from a Dia drawing. The SVG used in XSL:FO->PDF, isn't scaled in the PDF file. Without the @depth and @scalefit attribute on its <imagedata>, the SVG image takes the rest of the page from it's start (I just see the top of the image). With the two attributes set, it allocates 5cm for the image and continues with the text, but the image isn't scaled, and the parts of the SVG image that are shown overlaps with the text. Is there a way to make SVG images scale? Do I have to change to a different version of FOP? Thanx! - Steinar DocBook fragment used to include the SVG image: <figure> <title>An example network for an iTTV Portal with two NICs</title> <mediaobject> <imageobject> <imagedata fileref="images/netwexampl.svg" format="SVG" depth="5cm" scalefit="1"/> </imageobject> <imageobject> <imagedata fileref="images/netwexampl.png" format="PNG"/> </imageobject> <imageobject> <imagedata fileref="images/netwexampl.eps" format="EPS"/> </imageobject> </mediaobject> </figure>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]