[Geoserver-devel] [JIRA] (GEOS-8975) [Label Placement] Baseline is displaced when the label has line breaks and descenders

Fabian Ortega created an issue

GeoServer / BugGEOS-8975

[Label Placement] Baseline is displaced when the label has line breaks and descenders

Issue Type:

BugBug

Assignee:

Unassigned

Attachments:

case_1_sample_1.png, case_2_sample_1.png, case_3_sample_1.png, case_3_sample_2.png, inca_Annotation_straight_T.sld, sample_data.zip

Created:

11/Oct/18 11:20 AM

Environment:

GeoServer Version 2.13.2

Priority:

HighHigh

Reporter:

Fabian Ortega

Hi there,

I’m facing an issue related with the “Label Placement”.
When a label has line breaks and letter with descenders, such as “g”, “p”, “q”, “y”, “j”, the baseline gets displaced.

For example:

  • CASE 1 – The label has line breaks but no descenders >>> IT WORKS FINE (see attached-file case_1_sample_1.png)
  • CASE 2 – The label has descenders but no line breaks >>>_ IT WORKS FINE_ (see attached-file case_2_sample_1.png)
  • CASE 3 – The label has line breaks and descenders >>> Problem: THE BASELINE IS DISPLACED (see attached-files case_3_sample_1.png & case_3_sample_2.png)

I also have attached to this ticket the SLD file and some sample data to reproduce the problem.

Best regards,

Fabian

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#100094-sha1:acbca2d)

Atlassian logo