[EMAIL PROTECTED] wrote:
I have some problems, while generating a pdf with fop. I would like to
convert some svg to pdf. The svg shows a rect, some text and a piechart. Every
time I converted it to pdf the piechart was displaced. All other elements are on
the correct place. Does anybody know a solution for my problem?
...
<svg xmlns="http://www.w3.org/2000/svg"; height="297mm" width="210mm">
...
<rect fill="rgb(0,0,0)" width="170mm" x="20mm" height="12mm"
...
<path d="M400,550L400,430A120 120 0 0 1 470.53,452.92z"/>

The pie chart data uses pixel, while everything else is measured in mm. I suspect the offset is due to the usual pixel->real length unit conversion. Use a proper viewport mapping in order to fix this.

J.Pietschmann

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



Reply via email to