xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Fendley <a...@fendley.com>
Subject Re: Bounding Box (getBBox())
Date Tue, 30 Apr 2013 09:27:55 GMT
Hi Jonathan,

Many thanks for this, I will investigate.

Andy


On 29 Apr 2013, at 18:27, jonathan wood wrote:

> 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
> _________________________________
> 
> skype	andrewfendley
> twitter	@andyfendley
> mobile	+44 (0) 7590 726426
> __________________________________
> 
> 





Andy Fendley BEng (Hons) MSc 
_________________________________

Software Consultant

LinkedIN: profile
_________________________________

skype	andrewfendley
twitter	@andyfendley
mobile	+44 (0) 7590 726426
__________________________________


Mime
View raw message