xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathan wood <jonathanshaww...@gmail.com>
Subject Re: Bounding Box (getBBox())
Date Mon, 29 Apr 2013 17:27:36 GMT
Hi Andy,

   Yes you can obtain a valid bbox in a headless environment.  You'll need
to boot the svg and dom css.....

http://wiki.apache.org/xmlgraphics-batik/BootSvgAndCssDom




On Mon, Apr 29, 2013 at 11:22 AM, Andy Fendley <andy@fendley.com> wrote:

> Hi all,
>
> I have a question regarding using Batik in a headless environment.
>
> Regarding the [    getBBox()   ]  method and a piece of text within an SVG
> document that is NOT rendered and is in a headless environment such as a
> web application, is there any way, knowing the text point size and having
> the font (ttf) available to determine this bounding box using the batik
> software?
>
> We have an [ SVGDocument ] in memory and thats it.
>
> Many thanks for any response in advance, and Batik is working superbly
> well for us.
>
> Andy
>
>
>
> Andy Fendley BEng (Hons) MSc
> _________________________________
>
> *Software Consultant*
>
> LinkedIN: profile <http://uk.linkedin.com/pub/andy-fendley/6/2/802>
> _________________________________
>
> skype andrewfendley
> twitter @andyfendley
> mobile +44 (0) 7590 726426
> __________________________________
>
>

Mime
View raw message