>>>>> "TK" == Thierry Kormann <[EMAIL PROTECTED]> writes:
>> However, neither Element nor Text has the crucial method
>> getComputedTextLength(), which I believe I need to get the width of
>> the string in pixels. Hence in my code below you will see a "dummy"
>> cast of Text
[...]
TK> 1. it's not supported in batik yet
TK> 2. that's not so easy to implement (we have to nearly render the
TK> text element to give you access to that information. That means
TK> that all the font family per character, glyph, ligatures... must
TK> be resolved at build time !)
Yup, it's hard...
Might I suggest using the filter hack I mentioned a few days ago.
You can construct a filter using ObjectBounding Box an FeFlood to do
simple backgrounds for text...
Hope this helps.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]