xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ionut Ciocirlan" <ionut.ciocir...@avandor.com>
Subject Re: unknown size of svg
Date Fri, 19 Aug 2005 19:42:43 GMT
Thanks, that fixed it.

Never imagined it would actually be *that* simple :)


Ionut

----- Original Message ----- 
From: "Thomas DeWeese" <Thomas.DeWeese@Kodak.com>
To: <batik-users@xmlgraphics.apache.org>
Sent: Friday, August 19, 2005 8:15 PM
Subject: Re: unknown size of svg


|> From: "Thomas DeWeese"
|
| > | With the transcoder you can have it run 'onload' "event handlers"
| > | that are in the document (as ECMA script).  These onload event
| > | handlers should be able to get the BBox of the flowText element and
| > | use that to set the width/height of the outermost SVG element.
|
| Ionut Ciocirlan wrote:
|
| > This got my hopes high, but... the flowText element has no getBBox() 
method.
| > I tried to 'force' it implement Interface SVGLocatable
|
|    Ohh, thanks for pointing this out, this is a bug. I'll work on
| fixing it.
|
| > Any idea how I could get past this issue?
|
|    Sure just wrap the flowText element with a simple 'g'.
| Put the id on the 'g' and get it's BBox.
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
| For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message