Issue Type: Bug Bug
Assignee: David Winslow
Components: CSS
Created: 19/Jul/13 11:39 AM
Description:

The guide says that the following CSS is sufficient to create the outlines and labels in topp.stats:

* {
  stroke-width: 0.2;
  label: [STATE_ABBR];
  label-anchor: 0.5 0.5;
  font-family: "Times New Roman";
  font-style: normal;
  font-size: 14;
}

however we actually need to specify the stroke color and the font fill:

* {
  stroke-width: 0.2;
  stroke: #000000;
  label: [STATE_ABBR];
  label-anchor: 0.5 0.5;
  font-family: "Times New Roman";
  font-style: normal;
  font-size: 14;
  font-fill: #000000;

This seems inconsistent with the normal SLD behavior, where the stroke is assumed to be black (not transparent) the moment we have anything about a line symbolizer, and the font fill black (not gray) the moment we have anything about a text symbolizer.
I understand this is CSS not SLD, but when specifying a non null stroke width I'd expect to see something, and when specifying a label, same, it would be nice to see it black (why gray?)

Project: GeoServer
Priority: Major Major
Reporter: Andrea Aime
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to