xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Toussaint <and...@onemileup.com>
Subject Re: Style attribute from a SimpleAttributeList
Date Thu, 25 Aug 2005 13:51:44 GMT
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: 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