If the exception is to do with not finding a font and you're using java 1.4 then it may be due to the word "serif" not being capitalised in StyleFactoryImpl.java (line 545). I say this because it's an old (2.1) version of Geotools you're using, the bug was fixed in more recent versions, colin
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andrea Aime > Sent: 30 March 2007 07:54 > To: María José Pérez > Cc: [email protected] > Subject: Re: [Geotools-gt2-users] TextSymbolizer. gt2.1 > > María José Pérez ha scritto: > > Question 1: > > Hello! I´m using geotools 2.1. I can´t show text on the > map. When I use > > TextSymbolizer the application throws an Exception. My > style is correct, > > so I think the problem is because the encoding (UTF-8) of > the database > > (PostGis) or perhaps there is another reason. > > Do you know a solution to the problem? any suggestion? > > Hard to say with so few information. Please provide the full stack > trace, the SLD, and the feature type structure (that is, what > attributes > are there). > > Cheers > Andrea > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
