Hello!

We are using Batik/SVG to dynamically generate images displaying text. We 
are currently creating a SVG template that we load using the appropriate 
Batik API, we replace the text in the template by the text desired, and we 
then use a transcoder to save the result in an image file. What we would 
like to do now is to automatically adjust the width of the image file to the 
width of the text it displays in order to limit as much as possible the 
weight of the image file obtained (i.e., we don't want to have a large white 
region at the right of the text). Is there any way with Batik to know the 
smaller rectangle that would contain the info to display, what would allow 
us adjust the width of the SVG document as required?

Thank you very much,

Bertrand

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

Reply via email to