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

Reply via email to