On Wed, 19 Sep 2001 14:13:25 Thierry Kormann wrote:
> In order to properly implement getWidth (which was not the case in the
> method 
> I were using) - you can have a look at the ImageTranscoder.
> 
> The ImageTranscoder handles correctly the width and height attributes on
> the 
> outermost svg element (thoses attributes are in fact not required).

The only problem with this is that the root graphics node needs to be built
twice. I need to know the size when first reading the document and then I
need to build the graphics node depending on the renderer that is being
used.
The second time it is built may have different settings, for text painter
and a linking for example, depending on the output pdf, ps, awt.


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

Reply via email to