Thomas, thanks.
I will think if there is a proper place to add such utility to Batik,
since the StyleConstants is a common way of defining basic Font
attributes in Java2.
Andres.
On Aug 24, 2005, at 7:59 PM, Thomas DeWeese wrote:
Andres Toussaint wrote:
Is there a simple way to convert a SimpleAttributeList into a Style
attribute?
I don't think there is a 'simple' way. I think you just need
to map the various Font and Character Constants to the equivalent
SVG text attributes. We do something a little like the inverse
in the existing Text Bridge.
I have a Font Chooser that returns the selection as a
SimpleAttributeList, and I need to convert this into a style
attribute to be assigned into a TEXT element.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]