Loading ...
Sorry, an error occurred while loading the content.

Error converting SVG to PDF

Expand Messages
  • eugene_etingin
    Hi All, I have converted a MS Word Drawing into svg document using OpenOffice.org 1.1 This file looks pretty good in Squiggle SVG Browser. Then I convert it
    Message 1 of 1 , Aug 31, 2003
    • 0 Attachment
      Hi All,
      I have converted a MS Word Drawing into svg document using
      OpenOffice.org 1.1
      This file looks pretty good in Squiggle SVG Browser.
      Then I convert it into PDF using SVG Rasterizer (batik-
      rasterizer.jar). The result image in Acrobat Reader is very small
      (about 1/32 of original)

      Then I embedded it in an FO document to convert to pdf (uses
      batik.jar). I guess the FOP completely depends on batik for SVG2PDF
      conversion. When I try to open the resulting pdf, it says wrong
      operand type.

      Can anybody help please?
      Greatly appreciate your help
      Eugene Etingin
      e.etingin@...

      OS - Windows Server 2000 SP 4
      Java - Java(TM) 2 Runtime Environment, Standard Edition (build
      1.3.1_08-b03) Java HotSpot(TM) Client VM (build 1.3.1_08-
      b03, mixed mode)
      FOP - FOP 0.20.4
      SVG File

      <?xml version="1.0" encoding="UTF-8"?>

      <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG
      1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">

      <svg width="158mm" height="67mm" viewBox="0 0 15800 6700">

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:none;fill:rgb(207,176,112)">

      <rect x="313" y="2970" width="2742" height="1912"/>

      </g>

      <g style="stroke:none;fill:none">

      <rect x="482" y="3291" width="2607" height="491"/>

      <polyline points="482,3291 3089,3291 3089,3782 482,3782 482,3291"
      style="fill:none"/>

      </g>

      </g>

      <g style="font-family:Arial;font-size:355;font-weight:700">

      <g style="stroke:none;fill:rgb(255,255,255)">

      <text x="482" y="3627">Corporate and

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:none;fill:none">

      <rect x="864" y="3706" width="1837" height="499"/>

      <polyline points="864,3706 2700,3706 2700,4205 864,4205 864,3706"
      style="fill:none"/>

      </g>

      </g>

      <g style="font-family:Arial;font-size:355;font-weight:700">

      <g style="stroke:none;fill:rgb(255,255,255)">

      <text x="864" y="4050">Executive

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:none;fill:none">

      <rect x="965" y="4129" width="1642" height="499"/>

      <polyline points="965,4129 2607,4129 2607,4628 965,4628 965,4129"
      style="fill:none"/>

      </g>

      </g>

      <g style="font-family:Arial;font-size:355;font-weight:700">

      <g style="stroke:none;fill:rgb(255,255,255)">

      <text x="965" y="4473">Services

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:rgb(0,0,0);fill:none">

      <polyline points="6848,2234 6848,5813" style="fill:none"/>

      </g>

      <g style="stroke:none;fill:rgb(0,0,0)">

      <polygon points="6721,2259 6848,2031 6975,2259 6721,2259"/>

      <polyline points="6721,2259 6848,2031 6975,2259 6721,2259"
      style="fill:none"/>

      </g>

      <g style="stroke:none;fill:rgb(0,232,112)">

      <rect x="4664" y="271" width="8550" height="1768"/>

      </g>

      <g style="stroke:rgb(0,255,0);fill:rgb(0,232,112)">

      <polyline points="4664,271 -7754,271 -7754,2039 4664,2039 4664,271"
      style="fill:none"/>

      </g>

      <g style="stroke:rgb(0,0,0);fill:rgb(0,232,112)">

      <polyline points="11030,2234 11030,5813" style="fill:none"/>

      </g>

      <g style="stroke:none;fill:rgb(0,0,0)">

      <polygon points="10911,2259 11030,2031 11157,2259 10911,2259"/>

      <polyline points="10911,2259 11030,2031 11157,2259 10911,2259"
      style="fill:none"/>

      </g>

      <g style="stroke:none;fill:rgb(0,112,255)">

      <rect x="4664" y="5787" width="8550" height="888"/>

      </g>

      <g style="stroke:rgb(0,112,255);fill:rgb(0,112,255)">

      <polyline points="4664,5787 -7754,5787 -7754,6675 4664,6675
      4664,5787" style="fill:none"/>

      </g>

      <g style="stroke:none;fill:none">

      <rect x="7204" y="5813" width="3623" height="448"/>

      <polyline points="7204,5813 -10141,5813 -10141,6261 7204,6261
      7204,5813" style="fill:none"/>

      </g>

      </g>

      <g style="font-family:Arial;font-size:322;font-weight:700">

      <g style="stroke:none;fill:rgb(255,255,255)">

      <text x="7982" y="6130">Smith Barney

      </text>

      </g>

      <g style="stroke:none;fill:none">

      <rect x="6281" y="6185" width="5443" height="457"/>

      <polyline points="6281,6185 -9244,6185 -9244,6642 6281,6642
      6281,6185" style="fill:none"/>

      </g>

      <g style="stroke:none;fill:rgb(255,255,255)">

      <text x="6281" y="6503">Corporate Client Group Specialists

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:rgb(0,0,0);fill:none">

      <polyline points="4453,1151 3268,1151 3268,3689 3268,6228 4664,6228"
      style="fill:none"/>

      </g>

      <g style="stroke:none;fill:rgb(0,0,0)">

      <polygon points="4419,1032 4664,1151 4419,1261 4419,1032"/>

      <polyline points="4419,1032 4664,1151 4419,1261 4419,1032"
      style="fill:none"/>

      </g>

      <g style="stroke:rgb(0,0,0);fill:rgb(0,0,0)">

      <polyline points="13425,1151 14602,1151 14602,3689 14602,6228
      13205,6228" style="fill:none"/>

      </g>

      <g style="stroke:none;fill:rgb(0,0,0)">

      <polygon points="13451,1261 13205,1151 13451,1032 13451,1261"/>

      <polyline points="13451,1261 13205,1151 13451,1032 13451,1261"
      style="fill:none"/>

      </g>

      <g style="stroke:none;fill:none">

      <rect x="11411" y="3368" width="1515" height="491"/>

      <polyline points="11411,3368 12926,3368 12926,3858 11411,3858
      11411,3368" style="fill:none"/>

      </g>

      </g>

      <g style="font-family:CharterITC BT;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)">

      <text x="11411" y="3703">Strategic

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:none;fill:none">

      <rect x="11571" y="3782" width="1261" height="499"/>

      <polyline points="11571,3782 12832,3782 12832,4281 11571,4281
      11571,3782" style="fill:none"/>

      </g>

      </g>

      <g style="font-family:CharterITC BT;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)">

      <text x="11571" y="4117">Advice

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:none;fill:none">

      <rect x="4571" y="3266" width="1955" height="499"/>

      <polyline points="4571,3266 6526,3266 6526,3765 4571,3765 4571,3266"
      style="fill:none"/>

      </g>

      </g>

      <g style="font-family:CharterITC BT;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)">

      <text x="4571" y="3601">Transaction

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:none;fill:none">

      <rect x="4427" y="3689" width="2303" height="491"/>

      <polyline points="4427,3689 6730,3689 6730,4179 4427,4179 4427,3689"
      style="fill:none"/>

      </g>

      </g>

      <g style="font-family:CharterITC BT;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)">

      <text x="4427" y="4025">Origination &

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:none;fill:none">

      <rect x="4724" y="4112" width="1701" height="491"/>

      <polyline points="4724,4112 6425,4112 6425,4602 4724,4602 4724,4112"
      style="fill:none"/>

      </g>

      </g>

      <g style="font-family:CharterITC BT;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)">

      <text x="4724" y="4448">Execution

      </text>

      </g>

      </g>

      <g style="font-family:Times New Roman;font-size:355;font-weight:400">

      <g style="stroke:none;fill:rgb(0,0,0)"/>

      <g style="stroke:none;fill:none">

      <rect x="6721" y="939" width="4580" height="770"/>

      <polyline points="6721,939 -9667,939 -9667,1709 6721,1709 6721,939"
      style="fill:none"/>

      </g>

      </g>

      <g style="font-family:Arial;font-size:355;font-weight:700">

      <g style="stroke:none;fill:rgb(255,255,255)">

      <text x="7229" y="1283">ABC Rebranding test

      </text>

      </g>

      </g>

      </svg>
    Your message has been successfully submitted and would be delivered to recipients shortly.