StyleFactoryImpl looking for lower case 'serif' as default font
---------------------------------------------------------------
Key: GEOT-1046
URL: http://jira.codehaus.org/browse/GEOT-1046
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.3, 2.4.M0
Environment: gnu on lin: ubuntu
Reporter: Adrian Custer
Attachments: StyleFactoryImpl-diff.txt
The
modules/library/main/src/main/java/org/geotools/styling/StyleFactoryImpl.java#getDefaultFont()
method looks for
font.setFontFamily(filterFactory.createLiteralExpression("serif"));
which spews lots of errors of type:
Nov 29, 2006 2:45:55 PM org.geotools.renderer.style.SLDStyleFactory getFont
INFO: Bad file name in SLDStyleFactoryserif
java.io.FileNotFoundException: serif (No such file or directory)
Nov 29, 2006 2:45:55 PM org.geotools.renderer.style.SLDStyleFactory getFont
INFO: null input stream
This can be fixed if the string is "Serif" instead of "serif" as in the
attached patch
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel