W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2005

Problem regarding SVG to PDF conversion using FOP

From: Ruchira Singhwal <ruchira.s@s7solutions.com>
Date: Thu, 29 Sep 2005 10:50:00 +0530
To: www-xsl-fo@w3.org
Message-ID: <opsxumfmpwzbd413@smart1>

Hi,
    I faced some problem while using Apache FOP Package to convert a SVG
file into PDF file
I am able to convert some files perfectly but for some files the PDF i
obtained is clipped.
I try to find out the solution and for that I make some changes in SVG.
Changes are:

1. If I specify width and height 500% instead of 100% in the <svg> tag
   <svg width="500%" height="500%">
   then I get the full image in the PDF output.

2. If I specified the following value
<svg viewBox="0 0 1024 768">
to viewbox attribute then also I get the full pdf image but the size is
too small.

Can anyone help me how to get rid of this problem I cant keep on changing
every SVG file.

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
Received on Thursday, 29 September 2005 22:55:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT