Hello,

I'd like to use SVG BatikRasterizer to have a flexible way of creating
rich dynamic titles in my html pages.
My idea is to use a svg definition of my titles where I only replace
the text to be displayed and then to take that new svg file (with the
text replaced) to produce a jpg  rasterized version of it.
Of course the text length is variable and the image width should
follow the length of the text.
My problem is the created jpeg file is only as large as the width and
height of the root svg element and the overflowing text is not visible
in the renderred image (which I understand quite well !).
But I'd like to have the jpg as large as the maximum element width,
with the overflow visible in my jpg.
Is there any way of doing that ?
I don't know where to look for : batik or SVG , I'm new to SVG and
Batik.

I'm developping my html pages in php and calling the BatikRasterizer
from the command-line (on Linux as well as on Windows XP). The version
is batik1.5.1.

Verdeyen Boris 

Here follows an example of the kind of svg files I'm trying to
rasterize :

?xml version="1.0"?>
  <svg xmlns="http://www.w3.org/2000/svg"; height="170" width="400"
version="1.1" overflow="visible">
  <defs>
        <style type="text/css">
          <![CDATA[
        @font-face {
          font-family: "Trade";
          src:
url(http://www.nectil.com/Library/fonts/Trade%20Go
thic%20Extended%20Bold.ttf);
        }
      ]]>
   </style>
  </defs>
  <rect x="1" y="20"
  height="150" style="fill:#395988;" rx="10" ry="10" width="100%"/>
  <line x1="20" x2="20" y1="0" y2="100%" stroke="white"
stroke-width="1"/>
  <line x1="0" x2="100%" y1="120" y2="120" stroke="white"
stroke-width="1"/>
  <text  x="20" y="120" style="font-family:Trade; font-size: 42pt;
fill:white;" >QNectil</text>

  <text x="125" y="133"
style="font-family:Trade;font-size:16pt;fill:#bfb8
ac;letter-spacing:2;text-anchor:middle;">Publishing
SuitePublishingSuitePublishing SuitePublishingSuitePublishing
SuitePublishingSuite</text>
  <circle cx="20" cy="120" r="2" style="fill:white;"/>
  </svg>





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to