Right you are - and this is one of the many fixes you get to look
forward when I commit a patch for
- http://jira.codehaus.org/browse/GEOT-2692
Which I have just done now (thanks for reviewing Andrea).
This should be available via maven when the build box deploys tonight;
so if you are using 2.6-SNAPSHOT you can give it a go right away.
I am going to leave this bug report open and ask for feedback on the
style interfaces from the geotools-users list here (since I am sick of
them being inconsistent and/or deprecated :-D ). If you find anything
else Steve please speak up.
Cheers,
Jody
On 04/09/2009, at 5:49 PM, Stefan Krüger wrote:
> Hi everbody
>
> Because font-families can not be assured to be installed on a
> system, SLD/SE
> allows to define an ordered list of font family names to be tried.
> We see this
> in org.opengis.style.Font interface:
>> * The "font-family" SvgParameter element gives the family name of a
>> font to
> use.
>> * Allowed values are system-dependent. Any number of font-family
>> SvgParameter
>> * elements may be given and they are assumed to be in preferred
>> order.
>> * @return live list of font family
>> */
>> @XmlParameter("font-familly")
>> List<Expression> getFamily();
>
> But in Geotools 2.6-M2 org.geotools.styling.FontImpl an unmodifiable
> List is
> returned and i see no way to configure or even initialize this list
> of familiy
> names.
>> public List<Expression> getFamily() {
>> return Collections.unmodifiableList(fontFamily);
>> }
>
> The JavaDoc in the interfaces org.opengis.style.Font and
> org.geotools.styling.Font both explicitly state, that a "live list"
> should be
> returned. I guess that means it should modifiable...
>
> Many thanks for any help in advance...
>
>
> Greetz
> Steve
>
>
> --
> wiki² - Softwareentwicklung
> Stefan Krüger
> Straßburger Weg 26
> 53113 Bonn
>
> email [email protected]
> mobile 0151 50543949
> webpage wikisquare.de
> skype alfonx
>
> reclaim your net - http://tor.eff.org
> enforce privacy - http://www.pgpi.org
> pgp key id: 51B576FD - http://pgp.mit.edu
>
> Please note that according to the German law on data retention,
> information on every electronic information exchange with me is
> retained for a period of six months.
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users