I am new to SVG, so please excuse what may be a simple question.
 
I am interested in generating menu buttons for web portal applications using Batik.  Some menu buttons will be fixed length, others should vary depending upon embedded text.  From my research to date, it seems I cannot write SVG which expands/contracts the size of the generated image based on text measurement.  As such, it seems I must read an SVG template using SVGDOM and manipulate the SVG prior to passing it off to the Transcoder for jpeg creation.
 
My question is... does this seem like a reasonable approach.  If so, is there a class which permits text measurement so I can adjust the SVG to accomodate variable text size.
 
Thanks,
Randy Leonard
 

Reply via email to