capitalise 's' of serif in org.geotools.styling.StyleFactoryImpl.GetDefaultFont()

Description

In org.geotools.styling.StyleFactoryImpl.GetDefaultFont(), line 586 reads:

font.setFontFamily(filterFactory.createLiteralExpression("serif"));

The 's' of "serif" should be capitalized.

If you use SLD to store your styles the error has no consequences, it only logs lots of errors, because having failed to find "serif" SLDStyleFactory then uses the correctly capitlaised word Serif to get a font.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:12 PM

CodeHaus Comment From: coconut - Time: Tue, 14 Nov 2006 10:38:03 -0600
---------------------
Bug is only visible when using Java 1.4, as Java 1.5 is case insensitive regarding font names.

codehaus
April 10, 2015, 3:12 PM

CodeHaus Comment From: acuster - Time: Wed, 29 Nov 2006 11:44:59 -0600
---------------------
Change the component to styling

codehaus
April 10, 2015, 3:12 PM

CodeHaus Comment From: acuster - Time: Wed, 29 Nov 2006 11:47:47 -0600
---------------------
Unassign from James.

codehaus
April 10, 2015, 3:12 PM

CodeHaus Comment From: acuster - Time: Wed, 29 Nov 2006 11:49:06 -0600
---------------------
Change fix version (sorry for the slew of trivial updates) ---adrian

codehaus
April 10, 2015, 3:12 PM

CodeHaus Comment From: jeichar@refractions.net - Time: Wed, 29 Nov 2006 15:00:56 -0600
---------------------
2.3.x: 23122

trunk: 23123

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Priority

Lowest
Configure