[Geoserver-devel] [JIRA] (GEOS-9808) CSS Styles don't change the size of a label unless `font-style` is set

Ian Turton created an issue

GeoServer / BugGEOS-9808

CSS Styles don’t change the size of a label unless font-style is set

Issue Type:

BugBug

Affects Versions:

2.18.0

Assignee:

Unassigned

Attachments:

large-label.png, small-label.png

Components:

CSS

Created:

25/Nov/20 3:16 PM

Environment:

Windows, chrome

Priority:

MediumMedium

Reporter:

Ian Turton

With this style:

* {
  stroke: black;
  stroke-width: 0.5;
  fill: yellow;
  label: [STATE_ABBR];
  font-fill: black;
  font-size: 20;
}

Normal sized labels are produced.

While with:

* {
  stroke: black;
  stroke-width: 0.5;
  fill: yellow;
  label: [STATE_ABBR];
  font-fill: black;
  font-size: 20;
  font-style: normal;

}

The labels change size as expected

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100151-sha1:c8fcc1e)

Atlassian logo