thanks a lot.i get svg input as a string which is not cataining the
viewbox,after your suggestion,i have decided to modify the svg in the run
time.is there any possibilty of setting the viewbox attributes directly to
the batik instead of introducing in the svg??.if it is there it would be of
great help.
thanks a lot
GVS

-----Original Message-----
From: Thomas DeWeese [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 04, 2003 1:30 PM
To: Batik Users
Subject: Re: image width and height


GVS Srinivas wrote:

> hi,
> i am just working out with the nightly build batik-src-03-10-19.
> in the svgabstracttranscoder i see the width and height are set to 400 and
> 400 by default.is there a way i can change this value.when i changed the
> image height and width using KEY_HEIGHT and KEY_WIDTH,the image is getting
> cropped.
> when i changed this values in the code the image is properly generated.
> please tell me a way to change this values.
> thanks a lot.

    I suspect that you need to provide a viewBox.  If you provide a viewBox
then the content should be scaled to fit in Width/Height.  If not a
reproducible
example would help.





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


_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning
Services - powered by MessageLabs. For further information visit
http://www.mci.com

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

Reply via email to