Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boundary labels sometimes warp text unnecessarily #5007

Open
ZeLonewolf opened this issue Aug 26, 2024 · 1 comment
Open

Boundary labels sometimes warp text unnecessarily #5007

ZeLonewolf opened this issue Aug 26, 2024 · 1 comment

Comments

@ZeLonewolf
Copy link
Contributor

ZeLonewolf commented Aug 26, 2024

Expected behavior

Boundary labels along straight boundaries are straight.

Actual behavior

Sometimes, part of the label is rendered crooked.

Screenshots with links illustrating the problem

In the example below, the "E" in "East Tennessee" is tilted as if it is trying to follow a curve or turn in the boundary line it's following. At this zoom, the boundary line seems to be within a pixel or so of being straight so the tilt of that character looks wrong.

https://www.openstreetmap.org/way/39087865#map=13/34.99611/-85.83833
image

@imagico
Copy link
Collaborator

imagico commented Aug 26, 2024

This can probably be mitigated to some extent by adjusting the combination of text-vertical-alignment and text-dy - but it likely cannot be fully avoided - at least not easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants